From 76a4dac46d13d2b6611ddf05d2c4939ff02fe742 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Thu, 7 Nov 2024 14:32:49 +0100 Subject: [PATCH 1/4] WIP --- .github/workflows/ci.yaml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 391c2af3..64f23f05 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -21,11 +21,10 @@ jobs: steps: - name: Cleanup master build if necessary - if: ${{ github.event_name == 'schedule' }} +# 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 + gh cache delete macOS-X64-Erlang-master -R $REPO env: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} REPO: ${{ github.repository }} From bbd8965fb30874549b5e989dd1e9859395383f9b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Thu, 7 Nov 2024 14:35:14 +0100 Subject: [PATCH 2/4] WIP --- .github/workflows/ci.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 64f23f05..bed2bdff 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -11,6 +11,8 @@ on: ## Every Monday at 2am. - cron: 0 2 * * 1 +permissions: write-all + env: CI_ERLANG_MK: 1 From bb0c6e92befd542f00fc3bfaedad2e71cf787b72 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Thu, 7 Nov 2024 14:37:54 +0100 Subject: [PATCH 3/4] WIP --- .github/workflows/ci.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index bed2bdff..55fa3d73 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -11,8 +11,6 @@ on: ## Every Monday at 2am. - cron: 0 2 * * 1 -permissions: write-all - env: CI_ERLANG_MK: 1 @@ -20,13 +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 cache delete Linux-X64-Erlang-master -R $REPO - gh cache delete macOS-X64-Erlang-master -R $REPO + 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 }} From b1a5ccb972551ef2175c8962b4ecfd391a24669f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Thu, 7 Nov 2024 14:38:41 +0100 Subject: [PATCH 4/4] WIP --- .github/workflows/ci.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 55fa3d73..4296f341 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -18,8 +18,8 @@ jobs: cleanup-master: name: Cleanup master build runs-on: ubuntu-latest - permissions: - actions: write + permissions: + actions: write steps: - name: Cleanup master build if necessary