Skip to content

Commit

Permalink
Don't fail actions if master cache doesn't exist
Browse files Browse the repository at this point in the history
  • Loading branch information
essen committed Jan 8, 2024
1 parent 3de5463 commit a8f31f3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ jobs:
if: ${{ github.event_name == 'schedule' }}
run: |
gh extension install actions/gh-actions-cache
gh actions-cache delete Linux-X64-Erlang-master -R $REPO --confirm
gh actions-cache delete macOS-X64-Erlang-master -R $REPO --confirm
gh actions-cache delete Linux-X64-Erlang-master -R $REPO --confirm || true
gh actions-cache delete macOS-X64-Erlang-master -R $REPO --confirm || true
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
REPO: ${{ github.repository }}
Expand Down

0 comments on commit a8f31f3

Please sign in to comment.