Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork10
Commit7826692
committed
Don't upload multiple times to same artifact in label sync workflow
The "Sync Labels" GitHub Actions workflow is configured to allow the use of multiple shared label configuration files.This is done by using a job matrix in the GitHub Actions workflow to download each of the files from the sourcerepository in a parallel GitHub Actions workflow job. A GitHub Actions workflow artifact was used to transfer thegenerated files between sequential jobs in the workflow. The "actions/upload-artifact" and "actions/download-artifact"actions are used for this purpose.Previously, a single artifact was used for the transfer of all the shared label configuration files, with each of theparallel jobs uploading its own generated files to that artifact. However, support for uploading multiple times to asingle artifact was dropped in version 4.0.0 of the "actions/upload-artifact" action. So it is now necessary to use adedicated artifact for each of the builds. These can be downloaded in aggregate by using the artifact name globbing andmerging features which were introduced in version 4.1.0 of the "actions/download-artifact" action.1 parentbf05f5d commit7826692
1 file changed
+7
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| |||
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
80 | | - | |
| 80 | + | |
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
| |||
108 | 108 | | |
109 | 109 | | |
110 | 110 | | |
111 | | - | |
| 111 | + | |
112 | 112 | | |
113 | 113 | | |
114 | | - | |
| 114 | + | |
| 115 | + | |
115 | 116 | | |
116 | 117 | | |
117 | | - | |
| 118 | + | |
118 | 119 | | |
119 | 120 | | |
120 | | - | |
| 121 | + | |
121 | 122 | | |
122 | 123 | | |
123 | 124 | | |
| |||
0 commit comments
Comments
(0)