File tree 2 files changed +6
-3
lines changed
2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -67,8 +67,9 @@ var_11: &yarn_install_loose_lockfile
67
67
var_12 : &setup_bazel_ci_config
68
68
run :
69
69
name : " Setting up Bazel configuration for CI"
70
- command : |
71
- echo "import %workspace%/.circleci/bazel.rc" >> ./.bazelrc
70
+ # Note: We add the remote config flag to the user bazelrc file that is not tracked
71
+ # by Git. This is necessary to avoid stamping builds with `.with-local-changes`.
72
+ command : echo "import %workspace%/.circleci/bazel.rc" >> ./.bazelrc.user
72
73
73
74
# Attaches the release output which has been stored in the workspace to the current job.
74
75
# https://circleci.com/docs/2.0/workflows/#using-workspaces-to-share-data-among-jobs
Original file line number Diff line number Diff line change @@ -26,4 +26,6 @@ elif [[ ! -z "${GITHUB_ENV}" ]]; then
26
26
fi
27
27
28
28
# Update the project Bazel configuration to always use remote execution.
29
- echo " build --config=remote" >> .bazelrc
29
+ # Note: We add the remote config flag to the user bazelrc file that is not tracked
30
+ # by Git. This is necessary to avoid stamping builds with `.with-local-changes`.
31
+ echo " build --config=remote" >> .bazelrc.user
You can’t perform that action at this time.
0 commit comments