Skip to content

Commit 5962624

Browse files
committed
Disable disk-cache on release to avoid bazelbuild/bazel#25671
1 parent a263af2 commit 5962624

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/build-toolchain.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ jobs:
8181
module-root: toolchain
8282
cache-prefix: ${{ github.job }}-${{ matrix.target.name }}
8383
bazelisk-cache: true
84-
disk-cache: true
84+
disk-cache: ${{ github.event_name != 'workflow_dispatch' }} # https://github.com/bazelbuild/bazel/issues/25671
8585
repository-cache: true
8686
max-disk-cache-size: 2
8787
max-repository-cache-size: 0.5
@@ -126,7 +126,7 @@ jobs:
126126
module-root: toolchain
127127
cache-prefix: ${{ github.job }}-${{ matrix.target.name }}
128128
bazelisk-cache: true
129-
disk-cache: true
129+
disk-cache: ${{ github.event_name != 'workflow_dispatch' }} # https://github.com/bazelbuild/bazel/issues/25671
130130
repository-cache: true
131131
max-disk-cache-size: 2
132132
max-repository-cache-size: 0.5

0 commit comments

Comments
 (0)