From cba6867fd06dbe6f7af34717f7bde4bbd6390991 Mon Sep 17 00:00:00 2001 From: Piotr Sikora Date: Thu, 24 Feb 2022 09:26:30 -0800 Subject: [PATCH] ci: fix caching of builds with sanitizers. Signed-off-by: Piotr Sikora --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index b5b07e408..f94bca82e 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -231,7 +231,7 @@ jobs: - name: Set cache key if: ${{ matrix.cache }} - run: echo "::set-output name=uniq::$(bazel query --output build //external:${{ matrix.repo }} | grep -E 'sha256|commit' | cut -d\" -f2)" + run: echo "::set-output name=uniq::$(bazel query --output build //external:${{ matrix.repo }} | grep -E 'sha256|commit' | cut -d\" -f2)-$(echo ${{ matrix.flags }} | sha256sum)" id: cache-key - name: Bazel cache