diff options
| author | Loïc Hoguin <[email protected]> | 2024-11-08 11:01:41 +0100 |
|---|---|---|
| committer | Loïc Hoguin <[email protected]> | 2024-11-08 11:01:41 +0100 |
| commit | baf3b75e4c98ca65acf661b3bd99bb05469190a7 (patch) | |
| tree | 4cb114ac0b65f2cc800cc02b6163adf31631b1d7 | |
| parent | 6cfe0d1e9aeddb08bdb7b12bf808576d8ca0e668 (diff) | |
| download | gun-baf3b75e4c98ca65acf661b3bd99bb05469190a7.tar.gz gun-baf3b75e4c98ca65acf661b3bd99bb05469190a7.tar.bz2 gun-baf3b75e4c98ca65acf661b3bd99bb05469190a7.zip | |
CI: Fix master build deletion
Some things likely changed and made it not work anymore.
Also seems that the macOS runner is now ARM64.
| -rw-r--r-- | .github/workflows/ci.yaml | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 67bfd42..809eb7e 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -11,21 +11,19 @@ on: ## Every Monday at 2am. - cron: 0 2 * * 1 -env: - CI_ERLANG_MK: 1 - 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 extension install actions/gh-actions-cache - gh actions-cache delete Linux-X64-Erlang-master -R $REPO --confirm || true - gh actions-cache delete macOS-X64-Erlang-master -R $REPO --confirm || true + 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 }} |
