ci: fixes to actions caches (#3970)

This commit is contained in:
David Hewitt 2024-03-19 08:14:42 +00:00 committed by GitHub
parent da24f0cf93
commit ebeea943fe
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 2 deletions

View File

@ -1,6 +1,6 @@
name: CI Cache Cleanup
on:
pull_request:
pull_request_target:
types:
- closed
@ -22,7 +22,7 @@ jobs:
echo "Deleting caches..."
for cacheKey in $cacheKeysForPR
do
gh actions-cache delete $cacheKey -R $REPO -B $BRANCH --confirm
gh actions-cache delete -R $REPO -B $BRANCH --confirm -- $cacheKey
done
echo "Done"
env:

View File

@ -526,6 +526,7 @@ jobs:
workspaces:
examples/maturin-starter
save-if: ${{ github.event_name != 'merge_group' }}
key: ${{ matrix.target }}
- name: Setup cross-compiler
if: ${{ matrix.target == 'x86_64-pc-windows-gnu' }}
run: sudo apt-get install -y mingw-w64 llvm