From e0adf0a19c6e9516b2078bd5dd4d288cb1a03e5e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Mon, 8 Jan 2024 09:54:34 +0100 Subject: Don't fail actions if master cache doesn't exist --- .github/workflows/ci.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index f213e3a..f20a63f 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -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 }} -- cgit v1.2.3