File tree 3 files changed +16
-17
lines changed
3 files changed +16
-17
lines changed Original file line number Diff line number Diff line change 69
69
INSTALLER_CERT_MAC_PATH : " /tmp/ArduinoCerts2020.p12"
70
70
KEYCHAIN_PASSWORD : keychainpassword # Arbitrary password for a keychain that exists only for the duration of the job, so not secret
71
71
run : |
72
- echo "${{ secrets.INSTALLER_CERT_MAC_P12 }}" | base64 --decode > "${{ env.INSTALLER_CERT_MAC_PATH }}"
72
+ echo "${{ secrets.MACOS_SIGN_CERTIFICATE_P12 }}" | base64 --decode > "${{ env.INSTALLER_CERT_MAC_PATH }}"
73
73
security create-keychain -p "${{ env.KEYCHAIN_PASSWORD }}" "${{ env.KEYCHAIN }}"
74
74
security default-keychain -s "${{ env.KEYCHAIN }}"
75
75
security unlock-keychain -p "${{ env.KEYCHAIN_PASSWORD }}" "${{ env.KEYCHAIN }}"
79
79
-f pkcs12 \
80
80
-A \
81
81
-T "/usr/bin/codesign" \
82
- -P "${{ secrets.INSTALLER_CERT_MAC_PASSWORD }}"
82
+ -P "${{ secrets.MACOS_SIGN_CERTIFICATE_PASSWORD }}"
83
83
security set-key-partition-list \
84
84
-S apple-tool:,apple: \
85
85
-s \
Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ # Source: https://github.com/arduino/tooling-project-assets/blob/main/workflow-templates/assets/general/gon.config.hcl
2
+ # See: https://github.com/mitchellh/gon#configuration-file
3
+ source = [" dist/arduino-cloud-cli_osx_darwin_amd64/arduino-cloud-cli" ]
4
+ bundle_id = " cc.arduino.arduino-cloud-cli"
5
+
6
+ sign {
7
+ application_identity = " Developer ID Application: ARDUINO SA (7KT7ZWMCJT)"
8
+ }
9
+
10
+ # Ask Gon for zip output to force notarization process to take place.
11
+ # The CI will ignore the zip output, using the signed binary only.
12
+ zip {
13
+ output_path = " unused.zip"
14
+ }
You can’t perform that action at this time.
0 commit comments