aboutsummaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2024-11-07 14:32:49 +0100
committerLoïc Hoguin <[email protected]>2024-11-07 14:45:42 +0100
commitb1cb95fe743156e394ecfbc65df0faed86c36886 (patch)
tree94eda34ebc0e43247c5ba164abf0c425abcfe30d /.github
parent9f0f2a89d7a5b19e906181fbcca8d2deef301f18 (diff)
downloadcowboy-b1cb95fe743156e394ecfbc65df0faed86c36886.tar.gz
cowboy-b1cb95fe743156e394ecfbc65df0faed86c36886.tar.bz2
cowboy-b1cb95fe743156e394ecfbc65df0faed86c36886.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.yaml7
1 files changed, 4 insertions, 3 deletions
diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml
index 391c2af..e79bc91 100644
--- a/.github/workflows/ci.yaml
+++ b/.github/workflows/ci.yaml
@@ -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 }}