Skip to content

Commit

Permalink
Update check-release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
MrGreaterThan authored Dec 15, 2024
1 parent 5dfab6b commit 706b4b6
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/check-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down

0 comments on commit 706b4b6

Please sign in to comment.