From a8f31f3f0274f7e5a6b58fa6b6090c3160c4d023 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Mon, 8 Jan 2024 09:15:29 +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 8ffd868..c82eaa9 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