Skip to content

Commit

Permalink
cancel prev runs
Browse files Browse the repository at this point in the history
  • Loading branch information
bkrmendy committed Feb 8, 2024
1 parent 0e5c8e2 commit e5f9710
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ jobs:
build-windows:
runs-on: windows-latest
steps:
- name: Cancel existing runs on this branch
uses: fauguste/auto-cancellation-running-action@0.1.4
with:
githubToken: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/checkout@v3
- name: Run tests
run: cargo test --verbose
Expand All @@ -31,6 +35,10 @@ jobs:
build-macos:
runs-on: macos-latest
steps:
- name: Cancel existing runs on this branch
uses: fauguste/auto-cancellation-running-action@0.1.4
with:
githubToken: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/checkout@v3
- name: Run tests
run: cargo test --verbose
Expand Down
8 changes: 8 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,21 @@ jobs:
build-windows:
runs-on: windows-latest
steps:
- name: Cancel existing runs on this branch
uses: fauguste/auto-cancellation-running-action@0.1.4
with:
githubToken: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/checkout@v3
- name: Run tests
run: cargo test --verbose

build-macos:
runs-on: macos-latest
steps:
- name: Cancel existing runs on this branch
uses: fauguste/auto-cancellation-running-action@0.1.4
with:
githubToken: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/checkout@v3
- name: Run tests
run: cargo test --verbose

0 comments on commit e5f9710

Please sign in to comment.