Skip to content

Commit

Permalink
arm64: make sure the cache size stays in check
Browse files Browse the repository at this point in the history
since we disable caching now we also no longer prune the cache
  • Loading branch information
lazka committed May 29, 2023
1 parent 79096b7 commit a3c8edc
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,13 @@ jobs:
msys2 -c 'pacman --noconfirm -Suu'
msys2 -c 'pacman -Qkq'
- name: Prune cache for ARM64
if: ${{ runner.arch == 'ARM64' }}
shell: msys2 {0}
run: |
# Remove all cached packages older then 14 days
paccache --min-mtime "14 days ago" -k0
- name: Process build queue
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit a3c8edc

Please sign in to comment.