Cancel workflow for concurrent workflow runs (#69)
This commit is contained in:
parent
43302cdc39
commit
9ae713913e
7
.github/workflows/build_and_test.yaml
vendored
7
.github/workflows/build_and_test.yaml
vendored
@ -6,6 +6,13 @@ on:
|
|||||||
pull_request:
|
pull_request:
|
||||||
branches: [ main ]
|
branches: [ main ]
|
||||||
|
|
||||||
|
env:
|
||||||
|
CARGO_TERM_COLOR: always
|
||||||
|
|
||||||
|
concurrency:
|
||||||
|
group: ${{ github.workflow }}-${{ github.ref }}
|
||||||
|
cancel-in-progress: true
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: [self-hosted, qemu]
|
runs-on: [self-hosted, qemu]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user