Updated branch in Force deletion of caches

Fixes this issue https://github.com/actions/cache/issues/1107
pull/1108/head
Deepak Dahiya 2023-02-14 04:32:39 +05:30 committed by GitHub
parent 6998d139dd
commit 01f380d654
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

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