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 }}