File tree Expand file tree Collapse file tree 1 file changed +8
-9
lines changed Expand file tree Collapse file tree 1 file changed +8
-9
lines changed Original file line number Diff line number Diff line change 48
48
path : pkg-cache
49
49
key : never-exists
50
50
restore-keys : |
51
- ${{ matrix.os }}-pkg-cache-
51
+ ${{ matrix.os }}/pkg-cache/${{ matrix.config.cmake_args }}/
52
+ ${{ matrix.os }}/pkg-cache/
52
53
53
54
- name : Build inside Docker
54
55
id : docker-build
@@ -117,13 +118,11 @@ jobs:
117
118
set -ex
118
119
'
119
120
CLEANUP_CMD='
120
- if ls -d /var/db/pkg/llvm-core/clang-*; then
121
- [ -e /tmp/initial-pkg-cache.cksum ] && cache_cksum >/tmp/final-pkg-cache.cksum
122
- if ! diff -u /tmp/{initial,final}-pkg-cache.cksum; then
123
- ( cd /var/db/repos && tar --sort=name -cpJf /var/cache/binpkgs/gentoo-repo.txz gentoo )
124
- touch /output/SAVE_CACHE
125
- eclean -t 2w packages --changed-deps
126
- fi
121
+ [ -e /tmp/initial-pkg-cache.cksum ] && cache_cksum >/tmp/final-pkg-cache.cksum
122
+ if ! diff -u /tmp/{initial,final}-pkg-cache.cksum; then
123
+ ( cd /var/db/repos && tar --sort=name -cpJf /var/cache/binpkgs/gentoo-repo.txz gentoo )
124
+ touch /output/SAVE_CACHE
125
+ eclean -t 2w packages --changed-deps
127
126
fi
128
127
'
129
128
;;
@@ -167,4 +166,4 @@ jobs:
167
166
uses : actions/cache/save@v4
168
167
with :
169
168
path : pkg-cache
170
- key : ${{ matrix.os }}- pkg-cache- ${{ github.sha }}
169
+ key : ${{ matrix.os }}/ pkg-cache/${{ matrix.config.cmake_args }}/ ${{ github.sha }}
You can’t perform that action at this time.
0 commit comments