github: Fix ref in cache cleanup workflow
This commit is contained in:
1 parent
9c140dd45c
commit
c85901e2f2
1 file changed
+2
-2
@@ -12,5 +12,5 @@ jobs:
|
||||
- env:
|
||||
GH_TOKEN: ${{ github.token }}
|
||||
# github.ref for deletes is the default branch, so we get the ref from
|
||||
# the event
|
||||
run: gh cache delete --repo ${{ github.repository }} -r ${{ github.event.ref }} --all --succeed-on-no-caches
|
||||
# the event, which is not the full ref
|
||||
run: gh cache delete --repo ${{ github.repository }} -r refs/heads/${{ github.event.ref }} --all --succeed-on-no-caches
|
||||
Reference in new issue
Block a user