Skip to content

Commit f0d078a

Browse files
committed
1 parent 0b9b24d commit f0d078a

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

Diff for: .github/workflows/sync-labels.yml

+5-4
Original file line numberDiff line numberDiff line change
@@ -71,13 +71,13 @@ jobs:
7171
file-url: https://raw.githubusercontent.com/arduino/tooling-project-assets/main/workflow-templates/assets/sync-labels/${{ matrix.filename }}
7272

7373
- name: Pass configuration files to next job via workflow artifact
74-
uses: actions/upload-artifact@v3
74+
uses: actions/upload-artifact@v4
7575
with:
7676
path: |
7777
*.yaml
7878
*.yml
7979
if-no-files-found: error
80-
name: ${{ env.CONFIGURATIONS_ARTIFACT }}
80+
name: ${{ env.CONFIGURATIONS_ARTIFACT }}-${{ matrix.filename }}
8181

8282
sync:
8383
needs: download
@@ -109,10 +109,11 @@ jobs:
109109
uses: actions/checkout@v4
110110

111111
- name: Download configuration files artifact
112-
uses: actions/download-artifact@v3
112+
uses: actions/download-artifact@v4
113113
with:
114-
name: ${{ env.CONFIGURATIONS_ARTIFACT }}
114+
pattern: ${{ env.CONFIGURATIONS_ARTIFACT }}-* # Download all configuration files
115115
path: ${{ env.CONFIGURATIONS_FOLDER }}
116+
merge-multiple: true
116117

117118
- name: Remove unneeded artifact
118119
uses: geekyeggo/delete-artifact@v5

0 commit comments

Comments
 (0)