Commit 270e43f
committed
[CI] Limit concurrency of build cache update jobs.
If several merges are happening in close succession, the same number of
build-cache update jobs will run (in parallel). It would be enough if
only one of these were to run.
Here, the update jobs for macOS are assigned to a concurrency group.
This ensures that only one job runs, and only one job is pending.
The pending job always gets replaced with the latest version when a
merge happens. For now, this is only in effect when the workflow is
triggered by a push, and only for macOS, but this could be extended.
Adapted from commit 13837341 parent 03e4a6d commit 270e43f
1 file changed
+7
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
95 | 102 | | |
96 | 103 | | |
97 | 104 | | |
| |||
0 commit comments