Commit c3cd3e5
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 1383734
(cherry picked from commit 270e43f)1 parent 7ac680e commit c3cd3e5
1 file changed
+7
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
91 | 98 | | |
92 | 99 | | |
93 | 100 | | |
| |||
0 commit comments