Add concurrency queue support (#355)
This commit is contained in:
+28
-1
@@ -25,7 +25,11 @@ jobs:
|
||||
concurrency:
|
||||
group: ref
|
||||
cancel-in-progress: ${{ github.ref }}
|
||||
|
||||
build5:
|
||||
runs-on: ubuntu-latest
|
||||
concurrency:
|
||||
group: deploy
|
||||
queue: max
|
||||
|
||||
---
|
||||
{
|
||||
@@ -141,6 +145,29 @@ jobs:
|
||||
]
|
||||
},
|
||||
"runs-on": "macos-latest"
|
||||
},
|
||||
{
|
||||
"type": "job",
|
||||
"id": "build5",
|
||||
"name": "build5",
|
||||
"if": {
|
||||
"type": 3,
|
||||
"expr": "success()"
|
||||
},
|
||||
"concurrency": {
|
||||
"type": 2,
|
||||
"map": [
|
||||
{
|
||||
"Key": "group",
|
||||
"Value": "deploy"
|
||||
},
|
||||
{
|
||||
"Key": "queue",
|
||||
"Value": "max"
|
||||
}
|
||||
]
|
||||
},
|
||||
"runs-on": "ubuntu-latest"
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user