fix(ci): concurrency group
Signed-off-by: Innei <i@innei.in>
This commit is contained in:
parent
94b097fd25
commit
fb0152eaec
|
|
@ -5,7 +5,7 @@ on:
|
|||
|
||||
name: CI Build web and SSR server
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.ref }}
|
||||
group: ${{ github.workflow }}-${{ github.ref }}-ssr
|
||||
cancel-in-progress: true
|
||||
jobs:
|
||||
build:
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@ on:
|
|||
required: true
|
||||
# https://docs.github.com/en/enterprise-cloud@latest/actions/writing-workflows/choosing-what-your-workflow-does/control-the-concurrency-of-workflows-and-jobs
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.ref }}
|
||||
group: ${{ github.workflow }}-${{ github.ref }}-build
|
||||
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
|
||||
env:
|
||||
VITE_WEB_URL: ${{ vars.VITE_WEB_URL }}
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ on:
|
|||
|
||||
name: CI Format, Typecheck and Lint
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.ref }}
|
||||
group: ${{ github.workflow }}-${{ github.ref }}-lint
|
||||
cancel-in-progress: true
|
||||
jobs:
|
||||
build:
|
||||
|
|
|
|||
Loading…
Reference in New Issue