From 706b4b6ef7d1ac6c6aa229a3db12429a711b8b70 Mon Sep 17 00:00:00 2001 From: MrGreaterThan Date: Sun, 15 Dec 2024 11:16:21 -0600 Subject: [PATCH] Update check-release.yml --- .github/workflows/check-release.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/check-release.yml b/.github/workflows/check-release.yml index 22e101d..1b1e886 100644 --- a/.github/workflows/check-release.yml +++ b/.github/workflows/check-release.yml @@ -78,10 +78,13 @@ jobs: # Step 5: Delete Previous Cache - name: Delete Previous Cache - if: env.NEW_RELEASE == 'true' && steps.cache-restore.outputs.cache-hit + if: env.NEW_RELEASE == 'true' && steps.cache-restore.outputs.cache-hit == 'true' continue-on-error: true run: | - gh extension install actions/gh-actions-cache + echo "DEBUG: Installing gh-actions-cache extension..." + gh extension install actions/gh-actions-cache --force + + echo "DEBUG: Deleting cache with key: ${{ env.cache-key }}" gh actions-cache delete "${{ env.cache-key }}" --confirm env: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}