ci: cancel the previous build when a new commit lands (#34733)
This commit is contained in:
parent
dc5af2c615
commit
74df203dd4
|
@ -25,6 +25,10 @@ on:
|
|||
type: string
|
||||
default: "master"
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
env:
|
||||
SHELL: /bin/bash
|
||||
SCCACHE_GHA_ENABLED: "true"
|
||||
|
|
|
@ -26,6 +26,10 @@ on:
|
|||
type: string
|
||||
default: "master"
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
env:
|
||||
SHELL: /bin/bash
|
||||
SCCACHE_GHA_ENABLED: "true"
|
||||
|
|
Loading…
Reference in New Issue