mirror of
https://github.com/ninenines/cowboy.git
synced 2025-07-14 12:20:24 +00:00
CI: Fix master build deletion
Some things likely changed and made it not work anymore. Also seems that the macOS runner is now ARM64.
This commit is contained in:
parent
9f0f2a89d7
commit
b1cb95fe74
1 changed files with 4 additions and 3 deletions
7
.github/workflows/ci.yaml
vendored
7
.github/workflows/ci.yaml
vendored
|
@ -18,14 +18,15 @@ jobs:
|
||||||
cleanup-master:
|
cleanup-master:
|
||||||
name: Cleanup master build
|
name: Cleanup master build
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
permissions:
|
||||||
|
actions: write
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
- name: Cleanup master build if necessary
|
- name: Cleanup master build if necessary
|
||||||
if: ${{ github.event_name == 'schedule' }}
|
if: ${{ github.event_name == 'schedule' }}
|
||||||
run: |
|
run: |
|
||||||
gh extension install actions/gh-actions-cache
|
gh cache delete Linux-X64-Erlang-master -R $REPO || true
|
||||||
gh actions-cache delete Linux-X64-Erlang-master -R $REPO --confirm || true
|
gh cache delete macOS-ARM64-Erlang-master -R $REPO || true
|
||||||
gh actions-cache delete macOS-X64-Erlang-master -R $REPO --confirm || true
|
|
||||||
env:
|
env:
|
||||||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
REPO: ${{ github.repository }}
|
REPO: ${{ github.repository }}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue