mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-08 17:13:57 -07:00
move env before run
This commit is contained in:
parent
1463cacc2e
commit
5a5f9e1701
1 changed files with 2 additions and 2 deletions
4
.github/workflows/delete-merged-caches.yml
vendored
4
.github/workflows/delete-merged-caches.yml
vendored
|
|
@ -13,6 +13,8 @@ jobs:
|
|||
actions: write
|
||||
steps:
|
||||
- name: Cleanup
|
||||
env:
|
||||
BRANCH: refs/pull/${{ github.event.pull_request.number }}/merge
|
||||
run: |
|
||||
echo "Fetching list of cache keys"
|
||||
cacheKeysForPR=$(gh cache list --ref $BRANCH --limit 100 --json id --jq '.[].id')
|
||||
|
|
@ -22,5 +24,3 @@ jobs:
|
|||
gh cache delete $cacheKey || true
|
||||
done
|
||||
echo "Done"
|
||||
env:
|
||||
BRANCH: refs/pull/${{ github.event.pull_request.number }}/merge
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue