Skip to content

Commit 146459c

Browse files
authored
chore(ci): update uuid as ccache store key (#86)
1 parent c89c10d commit 146459c

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/ci-test.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
- uses: ./.github/action/setup-ccache
3333
with:
3434
size: 128M
35-
key: ccache-${{ runner.os }}-build-${{ hashFiles('**/CMakeLists.txt') }}
35+
key: ccache-${{ runner.os }}-build-${{ github.run_id }}
3636
restore-keys: |
3737
ccache-${{ runner.os }}-build-
3838
@@ -77,7 +77,7 @@ jobs:
7777
- uses: ./.github/action/setup-ccache
7878
with:
7979
size: 128M
80-
key: ccache-${{ runner.os }}-build-${{ hashFiles('**/CMakeLists.txt') }}
80+
key: ccache-${{ runner.os }}-build-${{ github.run_id }}
8181
restore-keys: |
8282
ccache-${{ runner.os }}-build-
8383
@@ -86,3 +86,6 @@ jobs:
8686
- name: run test for windows
8787
run: |
8888
npm run test:as
89+
90+
- name: verify ccache stats
91+
run: ccache --show-stats

0 commit comments

Comments
 (0)