From a31e40468a414d0ff19977cf216106c40d5d2c01 Mon Sep 17 00:00:00 2001 From: Mark Ridgwell Date: Mon, 10 Jun 2024 09:39:57 +0000 Subject: [PATCH] [Actions] Updated .github/workflows/on-pr-closed.yml --- .github/workflows/on-pr-closed.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/on-pr-closed.yml b/.github/workflows/on-pr-closed.yml index 0de5120c..c54e244a 100644 --- a/.github/workflows/on-pr-closed.yml +++ b/.github/workflows/on-pr-closed.yml @@ -39,7 +39,7 @@ jobs: - name: "Cleanup" run: | echo "Fetching list of cache key" - cacheKeysForPR=$(gh actions-cache list -R $REPO -B $BRANCH -L 100 | cut -f 1 ) + cacheKeysForPR=$(gh actions-cache list -R "$REPO" -B "$BRANCH" -L 100 | cut -f 1 ) ## Setting this to not fail the workflow while deleting cache keys. set +e @@ -47,7 +47,7 @@ jobs: for cacheKey in $cacheKeysForPR do echo "Deleting cache key: $cacheKey" - gh actions-cache delete $cacheKey -R $REPO -B $BRANCH --confirm + gh actions-cache delete "$cacheKey" -R "$REPO" -B "$BRANCH" --confirm done echo "Done" env: