Skip to content

Commit 0bf413a

Browse files
committed
Also fixed clang-19-static-analysis.yml
1 parent e00b5cb commit 0bf413a

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

.github/workflows/clang-19-static-analysis.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,10 @@ jobs:
4141
uses: actions/cache/restore@v4
4242
with:
4343
path: ${{ env.CACHED_PATHS }}
44-
key: ${{ steps.cache.outputs.cache-primary-key }}
44+
key: ${{ runner.os }}-clang-19-${{ matrix.protocol }}-${{ github.sha }}
4545
restore-keys: |
46-
${{ runner.os }}-clang-19-${{ matrix.protocol }}
46+
${{ runner.os }}-clang-19-${{ matrix.protocol }}-
47+
${{ runner.os }}-clang-19-
4748
4849
- uses: actions/checkout@v4
4950
if: steps.cache.outputs.cache-hit != 'true'
@@ -96,8 +97,8 @@ jobs:
9697
./ci-build.sh --disable-tests --protocol ${{ matrix.protocol }}
9798
9899
- uses: actions/cache/save@v4
99-
if: ${{ steps.cache.outputs.cache-hit != 'true' && github.ref_name == 'master' }}
100+
if: ${{ steps.cache.outputs.cache-hit != 'true' }}
100101
with:
101102
path: ${{ env.CACHED_PATHS }}
102-
key: ${{ steps.cache.outputs.cache-primary-key }}
103+
key: ${{ runner.os }}-clang-19-${{ matrix.protocol }}-${{ github.sha }}
103104

0 commit comments

Comments
 (0)