From 4b83597b7f0683aaf3e0a1327c449dc2e2bbccb1 Mon Sep 17 00:00:00 2001 From: Jeppe Reinhold Date: Mon, 9 Oct 2023 20:49:13 +0200 Subject: [PATCH] move preparation cancelation to later in the workflow --- .github/workflows/publish.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 8bb5fa3a82a6..8f02f2d0737c 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -36,11 +36,6 @@ jobs: gh run cancel ${{ github.run_id }} gh run watch ${{ github.run_id }} - - name: Cancel all release preparation runs - env: - GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} - run: yarn release:cancel-preparation-runs - - name: Checkout ${{ github.ref_name }} uses: actions/checkout@v3 with: @@ -67,6 +62,11 @@ jobs: run: | yarn install + - name: Cancel all release preparation runs + env: + GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} + run: yarn release:cancel-preparation-runs + - name: Apply deferred version bump and commit working-directory: . run: |