Cancel previous runs that are not completed (#145)

pull/150/head
Yixiao Fang 2021-12-16 20:29:34 +08:00 committed by GitHub
parent ec5528bfb9
commit d6a0ce18c1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -2,6 +2,10 @@ name: deploy
on: push
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build-n-publish:
runs-on: ubuntu-latest