0
Fork 0
mirror of https://github.com/ninenines/cowboy.git synced 2025-07-14 12:20:24 +00:00
This commit is contained in:
Loïc Hoguin 2024-11-07 14:37:54 +01:00
parent bbd8965fb3
commit bb0c6e92be
No known key found for this signature in database
GPG key ID: 8A9DF795F6FED764

View file

@ -11,8 +11,6 @@ on:
## Every Monday at 2am. ## Every Monday at 2am.
- cron: 0 2 * * 1 - cron: 0 2 * * 1
permissions: write-all
env: env:
CI_ERLANG_MK: 1 CI_ERLANG_MK: 1
@ -20,13 +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 cache delete Linux-X64-Erlang-master -R $REPO gh cache delete Linux-X64-Erlang-master -R $REPO || true
gh cache delete macOS-X64-Erlang-master -R $REPO gh cache delete macOS-ARM64-Erlang-master -R $REPO || true
env: env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
REPO: ${{ github.repository }} REPO: ${{ github.repository }}