[GHA] MacOS Signing and Notarization

This commit is contained in:
aboyko
2024-06-14 18:13:03 -04:00
parent e2974fb8c9
commit b220e60192

View File

@@ -266,11 +266,10 @@ jobs:
${{ github.workspace }}/.github/scripts/sign-osx-distro-file.sh $file ${{ github.workspace }}/.github/assets/entitlements.plist ${{ github.workspace }}/.github/assets/sts4.icns
done
- name: Notarize DMG files
if: ${{ inputs.build_type != 'snapshot' }}
env:
NOTARIZE_PROFILE: notarize-app-dmg-profile
run: |
xcrun notarytool store-credentials $NOTARIZE_PROFILE --apple-id ${{ secrets.AC_USERNAME }} --team-id ${{ secrets.APPLE_TEAM_ID }} --password ${{ secrets.AC_PASSWORD }}
xcrun notarytool store-credentials $NOTARIZE_PROFILE --apple-id ${{ secrets.AC_USERNAME }} --team-id ${{ secrets.APPLE_TEAM_ID }} --password ${{ secrets.AB_AC_PASSWORD }}
dmg_files=`ls spring-tool-suite-4*macosx*.dmg`
for dmg_file in $dmg_files
do