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:
|
||||
branches: [ main ]
|
||||
|
||||
env:
|
||||
CARGO_TERM_COLOR: always
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: [self-hosted, qemu]
|
||||
|
Loading…
x
Reference in New Issue
Block a user