Add notarization secrets.

This commit is contained in:
David Kocher
2026-04-27 22:13:28 +02:00
parent 542bee75b0
commit 9b7d391e5e
2 changed files with 4 additions and 1 deletions
+3
View File
@@ -73,6 +73,9 @@ jobs:
run: mvn --batch-mode deploy -Pinstaller -DskipTests -DskipITs -D"sparkle.feed=nightly"
env:
DEVELOPER_DIR: /Applications/Xcode 15.app/Contents/Developer
NOTARIZATION_USER: ${{ secrets.NOTARIZATION_USER }}
NOTARIZATION_PW: ${{ secrets.NOTARIZATION_PW }}
NOTARIZATION_TEAMID: ${{ secrets.NOTARIZATION_TEAMID }}
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
KEYCHAIN_PATH: 'codesign.keychain'
+1 -1
View File
@@ -164,7 +164,7 @@
<target name="notarize">
<echo message="Start notarizing '${notarize.archive.upload}'"/>
<exec dir="${home}" executable="/usr/bin/xcrun" spawn="false" failonerror="true">
<arg line="notarytool submit --apple-id '${env.NOTARIZATION_USER}' --password '${env.NOTARIZATION_PW}' --team-id G69SCX94XU --verbose '${notarize.archive.upload}' --wait --timeout 2h --output-format plist"/>
<arg line="notarytool submit --apple-id '${env.NOTARIZATION_USER}' --password '${env.NOTARIZATION_PW}' --team-id '${env.NOTARIZATION_TEAMID}' --verbose '${notarize.archive.upload}' --wait --timeout 2h --output-format plist"/>
</exec>
<echo message="Start stapling '${notarize.archive.staple}'"/>
<exec dir="${home}" executable="/usr/bin/xcrun" spawn="false" failonerror="true">