Skip to content

Commit

Permalink
canceling existing workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
lucifer1708 committed May 30, 2024
1 parent 4db3331 commit 5db8c61
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/Basic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ jobs:
name: Test Suite
runs-on: ubuntu-latest
steps:
- name: Cancel Previous Runs
uses: styfle/[email protected]
with:
all_but_latest: true

- name: Checkout sources
uses: actions/checkout@v2

Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/Release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,17 @@ name: build artifacts wasm

on: [push]

permissions:
actions: write
content: write


jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Cancel Previous Runs
uses: styfle/[email protected]
permissions:
actions: write
with:
all_but_latest: true
- name: Checkout sources
Expand Down

0 comments on commit 5db8c61

Please sign in to comment.