@@ -266,23 +266,20 @@ jobs:
266
266
}
267
267
268
268
# Ask Gon for zip output to force notarization process to take place.
269
- # The CI will ignore the zip output, using the signed binary only.
269
+ # The CI will upload the zip output
270
270
zip {
271
- output_path = "arduino-create-agent .zip"
271
+ output_path = "ArduinoCreateAgent.app_notarized .zip"
272
272
}
273
273
EOF
274
274
275
275
- name : Sign and notarize binary
276
276
run : gon -log-level=debug -log-json "${{ env.GON_CONFIG_PATH }}"
277
277
278
- # This step will overwrite the non signed mac artifact (arduino-create-agent-${{ env.RUNS_ON }})
279
278
- name : Upload artifact
280
279
uses : actions/upload-artifact@v3
281
280
with :
282
- name : ${{ env.PROJECT_NAME }}-${{ matrix.os }}${{ matrix.arch }}
283
- path : |
284
- ${{ env.PROJECT_NAME }}
285
- !${{ env.PROJECT_NAME }}.zip
281
+ name : ArduinoCreateAgent.app_notarized
282
+ path : ArduinoCreateAgent.app_notarized.zip
286
283
if-no-files-found : error
287
284
288
285
# This job is responsible for generating the installers (using installbuilder)
@@ -314,24 +311,28 @@ jobs:
314
311
- os : ubuntu-20.04
315
312
install-builder-name : linux
316
313
executable-path : artifacts/linux-amd64/
314
+ artifact-name : arduino-create-agent-ubuntu-20.04-amd64
317
315
- os : windows-2019
318
316
arch : -386
319
317
browser : edge
320
318
install-builder-name : windows
321
319
executable-path : artifacts/windows/
322
320
extension : .exe
323
321
installer-extension : .exe
322
+ artifact-name : arduino-create-agent-windows-2019-386
324
323
- os : windows-2019
325
324
browser : edge
326
325
install-builder-name : windows
327
326
executable-path : artifacts/windows/
328
327
extension : .exe
329
328
installer-extension : .exe
329
+ artifact-name : arduino-create-agent-windows-2019-amd64
330
330
- os : macos-12
331
331
browser : safari
332
332
install-builder-name : osx
333
- executable-path : ' skel/ArduinoCreateAgent.app/Contents/MacOS/ '
333
+ executable-path : artifacts/macos/
334
334
installer-extension : .app
335
+ artifact-name : ArduinoCreateAgent.app_notarized
335
336
336
337
container :
337
338
image : floydpink/ubuntu-install-builder:22.10.0
@@ -346,7 +347,7 @@ jobs:
346
347
- name : Download artifact
347
348
uses : actions/download-artifact@v3
348
349
with :
349
- name : ${{ env.PROJECT_NAME }}-${{ matrix.os }}${{ matrix.arch }}
350
+ name : ${{ matrix.artifact-name }}
350
351
path : ${{ matrix.executable-path }} # path expected by installbuilder
351
352
352
353
# zip artifacts do not mantain executable permission
0 commit comments