1
0
Fork 0
mirror of https://code.forgejo.org/actions/cache.git synced 2024-11-14 01:56:17 +01:00

Updated branch in Force deletion of caches (#1108)

* Updated branch in Force deletion of caches

Fixes this issue https://github.com/actions/cache/issues/1107

* Update tips-and-workarounds.md
This commit is contained in:
Deepak Dahiya 2023-02-14 01:11:58 -08:00 committed by GitHub
parent 6998d139dd
commit 81b7281936
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -53,7 +53,7 @@ jobs:
gh extension install actions/gh-actions-cache gh extension install actions/gh-actions-cache
REPO=${{ github.repository }} REPO=${{ github.repository }}
BRANCH=${{ github.ref }} BRANCH=refs/pull/${{ github.event.pull_request.number }}/merge
echo "Fetching list of cache key" echo "Fetching list of cache key"
cacheKeysForPR=$(gh actions-cache list -R $REPO -B $BRANCH | cut -f 1 ) cacheKeysForPR=$(gh actions-cache list -R $REPO -B $BRANCH | cut -f 1 )