Skip to content

Commit 9cc230f

Browse files
authored
ci: fix caching of builds with sanitizers. (#267)
Signed-off-by: Piotr Sikora <[email protected]>
1 parent 29708be commit 9cc230f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ jobs:
231231

232232
- name: Set cache key
233233
if: ${{ matrix.cache }}
234-
run: echo "::set-output name=uniq::$(bazel query --output build //external:${{ matrix.repo }} | grep -E 'sha256|commit' | cut -d\" -f2)"
234+
run: echo "::set-output name=uniq::$(bazel query --output build //external:${{ matrix.repo }} | grep -E 'sha256|commit' | cut -d\" -f2)-$(echo ${{ matrix.flags }} | sha256sum)"
235235
id: cache-key
236236

237237
- name: Bazel cache

0 commit comments

Comments
 (0)