Skip to content

Commit

Permalink
move preparation cancelation to later in the workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
JReinhold committed Oct 9, 2023
1 parent 2660c0a commit 4b83597
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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: |
Expand Down

0 comments on commit 4b83597

Please sign in to comment.