Skip to content

Commit

Permalink
add concurrency to github action
Browse files Browse the repository at this point in the history
  • Loading branch information
zyxkad committed Jan 23, 2025
1 parent f27a460 commit bc99c86
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/build-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ on:
branches:
- 'dev'

concurrency:
group: build-dev
cancel-in-progress: true

jobs:
build-wasm:
runs-on: ubuntu-latest
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ on:
tags:
- 'v*'

concurrency:
group: build-${{ github.head_ref || github.ref }}
cancel-in-progress: true

jobs:
create_release:
runs-on: ubuntu-latest
Expand Down

0 comments on commit bc99c86

Please sign in to comment.