Remove concurrency restriction on develop.

This commit is contained in:
Doug
2021-11-05 16:05:35 +00:00
parent 7985841123
commit 0a73f6cdac
4 changed files with 10 additions and 7 deletions
+3 -2
View File
@@ -17,9 +17,10 @@ jobs:
name: Release
runs-on: macos-11
# Only allow a single run of this workflow on each branch (cancel older runs automatically)
concurrency:
group: alpha-${{ github.head_ref }}
# When running on develop, use the sha to allow all runs of this workflow to run concurrently.
# Otherwise only allow a single run of this workflow on each branch, automatically cancelling older runs.
group: ${{ github.ref == 'refs/heads/develop' && format('alpha-develop-{0}', github.sha) || format('alpha-{0}', github.ref) }}
cancel-in-progress: true
steps: