-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
workflow: run only one workflow at a time to fix race conditions
Current workflow design doesn't allow for running multiple workflows. Even though runner allows only 1 job to run we can get situation in which workflow A builds DTS and then next job is cleanup of workflow B which will delete everything including workflow A artifacts. Signed-off-by: Michał Iwanicki <[email protected]>
- Loading branch information
1 parent
4afd1e3
commit 5734960
Showing
4 changed files
with
4 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,7 @@ on: | |
- '!v*-rc*' | ||
|
||
concurrency: | ||
group: ${{ github.workflow }} | ||
group: run-only-one-workflow | ||
|
||
jobs: | ||
build: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,7 @@ on: | |
- 'v*-rc*' | ||
|
||
concurrency: | ||
group: ${{ github.workflow }} | ||
group: run-only-one-workflow | ||
|
||
jobs: | ||
build: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,7 @@ on: | |
- "main" | ||
|
||
concurrency: | ||
group: ${{ github.workflow }} | ||
group: run-only-one-workflow | ||
|
||
jobs: | ||
build-dts: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters