Skip to content

Commit

Permalink
CI: Fix master build deletion
Browse files Browse the repository at this point in the history
Some things likely changed and made it not work anymore.

Also seems that the macOS runner is now ARM64.
  • Loading branch information
essen committed Nov 7, 2024
1 parent 9f0f2a8 commit b1cb95f
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +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 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 }}
Expand Down

0 comments on commit b1cb95f

Please sign in to comment.