Skip to content

Commit 2a8d21d

Browse files
josephperrottmmalerba
authored andcommitted
build: set incompatible_strict_action_env flag to allow caching (#17893)
The incompatible_strict_action_env flag is needed to so that the bazel cache is not invalidated when running bazel via `yarn bazel`.
1 parent 5da2ae1 commit 2a8d21d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.bazelrc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@ build --nolegacy_external_runfiles
1717
run --nolegacy_external_runfiles
1818
test --nolegacy_external_runfiles
1919

20+
# This flag is needed to so that the bazel cache is not invalidated
21+
# when running bazel via `yarn bazel`.
22+
build --incompatible_strict_action_env
23+
2024
###############################
2125
# Output control #
2226
###############################

0 commit comments

Comments
 (0)