Skip to content

Commit

Permalink
Set GH_TOKEN to use gh command
Browse files Browse the repository at this point in the history
  • Loading branch information
akimon658 committed Oct 6, 2024
1 parent 7b568b8 commit 71cc013
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ jobs:
- name: Delete previous cache
if: ${{ steps.cache.outputs.cache-hit }}
continue-on-error: true
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
gh extension install actions/gh-actions-cache
gh actions-cache delete "Default Cache" --confirm
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/update_lockfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ jobs:
- name: Delete previous cache
if: ${{ steps.cache.outputs.cache-hit }}
continue-on-error: true
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
gh extension install actions/gh-actions-cache
gh actions-cache delete "Default Cache" --confirm
Expand Down

0 comments on commit 71cc013

Please sign in to comment.