@@ -438,7 +438,6 @@ jobs:
438
438
needs : package
439
439
strategy :
440
440
matrix :
441
- browser : [safari, firefox, chrome]
442
441
arch : [-amd64]
443
442
444
443
runs-on : macos-12
@@ -451,7 +450,7 @@ jobs:
451
450
452
451
# zip artifacts do not mantain executable permission
453
452
- name : Make executable
454
- run : chmod -v +x ArduinoCreateAgent-osx/ArduinoCreateAgent-${GITHUB_REF##*/}-osx${{ matrix.arch }}-installer-${{ matrix.browser }} .app/Contents/MacOS/*
453
+ run : chmod -v +x ArduinoCreateAgent-osx/ArduinoCreateAgent-${GITHUB_REF##*/}-osx${{ matrix.arch }}-installer.app/Contents/MacOS/*
455
454
456
455
- name : Import Code-Signing Certificates
457
456
run : |
@@ -481,28 +480,28 @@ jobs:
481
480
# gon does not allow env variables in config file (https://github.com/mitchellh/gon/issues/20)
482
481
run : |
483
482
cat > gon.config_installer.hcl <<EOF
484
- source = ["ArduinoCreateAgent-osx/ArduinoCreateAgent-${GITHUB_REF##*/}-osx${{ matrix.arch }}-installer-${{ matrix.browser }} .app"]
483
+ source = ["ArduinoCreateAgent-osx/ArduinoCreateAgent-${GITHUB_REF##*/}-osx${{ matrix.arch }}-installer.app"]
485
484
bundle_id = "cc.arduino.${{ env.PROJECT_NAME }}-installer"
486
485
487
486
sign {
488
487
application_identity = "Developer ID Application: ARDUINO SA (7KT7ZWMCJT)"
489
488
}
490
489
491
490
dmg {
492
- output_path = "ArduinoCreateAgent-${GITHUB_REF##*/}-osx${{ matrix.arch }}-installer-${{ matrix.browser }} .dmg"
491
+ output_path = "ArduinoCreateAgent-${GITHUB_REF##*/}-osx${{ matrix.arch }}-installer.dmg"
493
492
volume_name = "ArduinoCreateAgent"
494
493
}
495
494
EOF
496
495
497
496
- name : Code sign and notarize app
498
497
run : |
499
- echo "gon will notarize executable in ArduinoCreateAgent-osx/ArduinoCreateAgent-${GITHUB_REF##*/}-osx${{ matrix.arch }}-installer-${{ matrix.browser }} .app"
498
+ echo "gon will notarize executable in ArduinoCreateAgent-osx/ArduinoCreateAgent-${GITHUB_REF##*/}-osx${{ matrix.arch }}-installer.app"
500
499
gon -log-level=debug -log-json gon.config_installer.hcl
501
500
timeout-minutes : 30
502
501
503
502
# tar dmg file to keep executable permission
504
503
- name : Tar files to keep permissions
505
- run : tar -cvf ArduinoCreateAgent-${GITHUB_REF##*/}-osx${{ matrix.arch }}-installer-${{ matrix.browser }}. tar ArduinoCreateAgent-${GITHUB_REF##*/}-osx${{ matrix.arch }}-installer-${{ matrix.browser }} .dmg
504
+ run : tar -cvf ArduinoCreateAgent-${GITHUB_REF##*/}-osx${{ matrix.arch }}-installer. tar ArduinoCreateAgent-${GITHUB_REF##*/}-osx${{ matrix.arch }}-installer.dmg
506
505
507
506
- name : Upload artifacts
508
507
uses : actions/upload-artifact@v3
0 commit comments