Skip to content

Commit b18a40c

Browse files
committed
arm64: make sure the cache size stays in check
since we disable caching now we also no longer prune the cache
1 parent 79096b7 commit b18a40c

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/build.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,13 @@ jobs:
165165
msys2 -c 'pacman --noconfirm -Suu'
166166
msys2 -c 'pacman -Qkq'
167167
168+
- name: Prune cache for ARM64
169+
if: ${{ runner.arch == 'ARM64' }}
170+
shell: msys2 {0}
171+
run: |
172+
# Remove all cached packages older then 14 days
173+
paccache -r --min-atime "14 days ago" -k0
174+
168175
- name: Process build queue
169176
env:
170177
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)