diff options
author | Loïc Hoguin <[email protected]> | 2024-11-07 14:56:58 +0100 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2024-11-07 14:56:58 +0100 |
commit | c7f8f7d212fd1ad25fa7936f3809fafede6cae72 (patch) | |
tree | b667652fe61adfc70bb9e1a279f7f5f7416c2682 /.github | |
parent | 07b55ff57d4acb566b61aa3ad00fe2adc98c78c9 (diff) | |
download | ranch-c7f8f7d212fd1ad25fa7936f3809fafede6cae72.tar.gz ranch-c7f8f7d212fd1ad25fa7936f3809fafede6cae72.tar.bz2 ranch-c7f8f7d212fd1ad25fa7936f3809fafede6cae72.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.
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/ci.yaml | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index c82eaa9..81a8b96 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -13,14 +13,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 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 }} |