build: add concurrency
This commit is contained in:
parent
a135bdba9c
commit
d3380bd87a
13
.github/workflows/build.yml
vendored
13
.github/workflows/build.yml
vendored
@ -8,6 +8,11 @@ on:
|
|||||||
branches:
|
branches:
|
||||||
- "*"
|
- "*"
|
||||||
types: [opened, synchronize, reopened]
|
types: [opened, synchronize, reopened]
|
||||||
|
|
||||||
|
concurrency:
|
||||||
|
group: ${{ github.ref }}
|
||||||
|
cancel-in-progress: true
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
name: Build
|
name: Build
|
||||||
@ -19,14 +24,6 @@ jobs:
|
|||||||
- Debug
|
- Debug
|
||||||
- Release
|
- Release
|
||||||
steps:
|
steps:
|
||||||
# - name: Wait for previous workflows
|
|
||||||
# if: github.event_name == 'push' && (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/develop')
|
|
||||||
# uses: softprops/turnstyle@v1
|
|
||||||
# with:
|
|
||||||
# poll-interval-seconds: 10
|
|
||||||
# env:
|
|
||||||
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
|
|
||||||
- name: Check out files
|
- name: Check out files
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
|
Loading…
Reference in New Issue
Block a user