@@ -65,10 +65,10 @@ jobs:
65
65
run : echo "version=$(task general:get-version)" >> $GITHUB_OUTPUT
66
66
67
67
- name : Upload artifacts
68
- uses : actions/upload-artifact@v3
68
+ uses : actions/upload-artifact@v4
69
69
with :
70
70
if-no-files-found : error
71
- name : ${{ env.ARTIFACT_NAME }}
71
+ name : ${{ env.ARTIFACT_NAME }}-${{ matrix.os }}
72
72
path : ${{ env.DIST_DIR }}
73
73
74
74
notarize-macos :
92
92
uses : actions/checkout@v4
93
93
94
94
- name : Download artifacts
95
- uses : actions/download-artifact@v3
95
+ uses : actions/download-artifact@v4
96
96
with :
97
- name : ${{ env.ARTIFACT_NAME }}
97
+ pattern : ${{ env.ARTIFACT_NAME }}-*
98
+ merge-multiple : true
98
99
path : ${{ env.DIST_DIR }}
99
100
100
101
- name : Import Code-Signing Certificates
@@ -167,10 +168,10 @@ jobs:
167
168
echo "PACKAGE_FILENAME=$PACKAGE_FILENAME" >> $GITHUB_ENV
168
169
169
170
- name : Upload artifact
170
- uses : actions/upload-artifact@v3
171
+ uses : actions/upload-artifact@v4
171
172
with :
172
173
if-no-files-found : error
173
- name : ${{ env.ARTIFACT_NAME }}
174
+ name : ${{ env.ARTIFACT_NAME }}-notarized-${{ matrix.artifact.name }}
174
175
path : ${{ env.DIST_DIR }}/${{ env.PACKAGE_FILENAME }}
175
176
176
177
create-windows-installer :
@@ -192,9 +193,10 @@ jobs:
192
193
uses : actions/checkout@v4
193
194
194
195
- name : Download artifacts
195
- uses : actions/download-artifact@v3
196
+ uses : actions/download-artifact@v4
196
197
with :
197
- name : ${{ env.ARTIFACT_NAME }}
198
+ pattern : ${{ env.ARTIFACT_NAME }}-*
199
+ merge-multiple : true
198
200
path : ${{ env.DIST_DIR }}
199
201
200
202
- name : Prepare PATH
@@ -222,12 +224,12 @@ jobs:
222
224
"${{ env.SIGNTOOL_PATH }}" sign -d "Arduino CLI" -f ${{ env.INSTALLER_CERT_WINDOWS_CER}} -csp "eToken Base Cryptographic Provider" -k "[{{${{ env.CERT_PASSWORD }}}}]=${{ env.CONTAINER_NAME }}" -fd sha256 -tr http://timestamp.digicert.com -td SHA256 -v "${{ env.MSI_FILE }}"
223
225
224
226
- name : Upload artifacts
225
- uses : actions/upload-artifact@v3
227
+ uses : actions/upload-artifact@v4
226
228
env :
227
229
MSI_FILE : ${{ steps.buildmsi.outputs.msi }}
228
230
with :
229
231
if-no-files-found : error
230
- name : ${{ env.ARTIFACT_NAME }}
232
+ name : ${{ env.ARTIFACT_NAME }}-windows-installer
231
233
path : ${{ env.MSI_FILE }}
232
234
233
235
create-release :
@@ -246,9 +248,10 @@ jobs:
246
248
uses : actions/checkout@v4
247
249
248
250
- name : Download artifact
249
- uses : actions/download-artifact@v3
251
+ uses : actions/download-artifact@v4
250
252
with :
251
- name : ${{ env.ARTIFACT_NAME }}
253
+ pattern : ${{ env.ARTIFACT_NAME }}-*
254
+ merge-multiple : true
252
255
path : ${{ env.DIST_DIR }}
253
256
254
257
- name : Install Task
0 commit comments