Skip to content

Commit

Permalink
build: Have CI cancel in-progress builds, only build one version of a…
Browse files Browse the repository at this point in the history
… commit.
  • Loading branch information
qdot committed Jan 27, 2024
1 parent 51d53a7 commit df2f128
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/main.yml
Expand Up @@ -6,6 +6,10 @@ on:
- dev
- master

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

jobs:
build-stable:
runs-on: ${{ matrix.os }}
Expand Down

0 comments on commit df2f128

Please sign in to comment.