Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 2b41a4d

Browse files
committedApr 21, 2023
parallelization for notarization is no more required
1 parent b62a2ff commit 2b41a4d

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed
 

‎.github/workflows/release.yml

+5-6
Original file line numberDiff line numberDiff line change
@@ -438,7 +438,6 @@ jobs:
438438
needs: package
439439
strategy:
440440
matrix:
441-
browser: [safari, firefox, chrome]
442441
arch: [-amd64]
443442

444443
runs-on: macos-12
@@ -451,7 +450,7 @@ jobs:
451450

452451
# zip artifacts do not mantain executable permission
453452
- 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/*
455454

456455
- name: Import Code-Signing Certificates
457456
run: |
@@ -481,28 +480,28 @@ jobs:
481480
# gon does not allow env variables in config file (https://github.com/mitchellh/gon/issues/20)
482481
run: |
483482
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"]
485484
bundle_id = "cc.arduino.${{ env.PROJECT_NAME }}-installer"
486485
487486
sign {
488487
application_identity = "Developer ID Application: ARDUINO SA (7KT7ZWMCJT)"
489488
}
490489
491490
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"
493492
volume_name = "ArduinoCreateAgent"
494493
}
495494
EOF
496495
497496
- name: Code sign and notarize app
498497
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"
500499
gon -log-level=debug -log-json gon.config_installer.hcl
501500
timeout-minutes: 30
502501

503502
# tar dmg file to keep executable permission
504503
- 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
506505

507506
- name: Upload artifacts
508507
uses: actions/upload-artifact@v3

0 commit comments

Comments
 (0)
Please sign in to comment.