Skip to content

Commit

Permalink
ci: fixes to actions caches (#3970)
Browse files Browse the repository at this point in the history
  • Loading branch information
davidhewitt authored Mar 19, 2024
1 parent da24f0c commit ebeea94
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/cache-cleanup.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: CI Cache Cleanup
on:
pull_request:
pull_request_target:
types:
- closed

Expand All @@ -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:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ebeea94

Please sign in to comment.