0
Fork 0
mirror of https://github.com/ninenines/cowboy.git synced 2025-07-14 12:20:24 +00:00

Don't fail actions if master cache doesn't exist

This commit is contained in:
Loïc Hoguin 2024-01-08 09:54:34 +01:00
parent 6ef79ae410
commit e0adf0a19c
No known key found for this signature in database
GPG key ID: 8A9DF795F6FED764

View file

@ -19,8 +19,8 @@ jobs:
if: ${{ github.event_name == 'schedule' }} if: ${{ github.event_name == 'schedule' }}
run: | run: |
gh extension install actions/gh-actions-cache gh extension install actions/gh-actions-cache
gh actions-cache delete Linux-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 gh actions-cache delete macOS-X64-Erlang-master -R $REPO --confirm || true
env: env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
REPO: ${{ github.repository }} REPO: ${{ github.repository }}