From bb0c6e92befd542f00fc3bfaedad2e71cf787b72 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Thu, 7 Nov 2024 14:37:54 +0100 Subject: [PATCH] WIP --- .github/workflows/ci.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index bed2bdff..55fa3d73 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -11,8 +11,6 @@ on: ## Every Monday at 2am. - cron: 0 2 * * 1 -permissions: write-all - env: CI_ERLANG_MK: 1 @@ -20,13 +18,15 @@ jobs: cleanup-master: name: Cleanup master build runs-on: ubuntu-latest + permissions: + actions: write steps: - name: Cleanup master build if necessary # if: ${{ github.event_name == 'schedule' }} run: | - gh cache delete Linux-X64-Erlang-master -R $REPO - gh cache delete macOS-X64-Erlang-master -R $REPO + gh cache delete Linux-X64-Erlang-master -R $REPO || true + gh cache delete macOS-ARM64-Erlang-master -R $REPO || true env: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} REPO: ${{ github.repository }}