Fix notarization (#670)

* add deps

* fix notarization

* bump

* undo notarytool use
This commit is contained in:
Neil 2023-06-16 19:20:54 +08:00 committed by GitHub
parent 2d5adbf7d3
commit 4ba8072ac5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 5 deletions

View file

@ -212,16 +212,16 @@ jobs:
# sometimes this might fail because exact the same zip has been uploaded already
- name: notarize .app arm64
run: xcrun notarytool submit dist/$ZIP_FILE --keychain-profile "xyz.tea.gui" --username "$APPLE_ID" --password "$APPLE_PASSWORD" --wait || true
# run: xcrun altool --notarize-app --username "$APPLE_ID" --password "$APPLE_PASSWORD" --primary-bundle-id "xyz.tea.gui" --file dist/$ZIP_FILE || true
# run: xcrun notarytool submit dist/$ZIP_FILE --keychain-profile "xyz.tea.gui" --apple-id "$APPLE_ID" --password "$APPLE_PASSWORD" --wait
run: xcrun altool --notarize-app --username "$APPLE_ID" --password "$APPLE_PASSWORD" --primary-bundle-id "xyz.tea.gui" --file dist/$ZIP_FILE || true
env:
APPLE_ID: ${{ secrets.APPLE_ID }}
APPLE_PASSWORD: ${{ secrets.APPLE_PASSWORD }}
ZIP_FILE: ${{ steps.app_files.outputs.zip_arm64 }}
- name: notarize .app x86+64
run: xcrun notarytool submit dist/$ZIP_FILE --keychain-profile "xyz.tea.gui" --username "$APPLE_ID" --password "$APPLE_PASSWORD" --wait || true
# run: xcrun altool --notarize-app --username "$APPLE_ID" --password "$APPLE_PASSWORD" --primary-bundle-id "xyz.tea.gui" --file dist/$ZIP_FILE || true
# run: xcrun notarytool submit dist/$ZIP_FILE --keychain-profile "xyz.tea.gui" --apple-id "$APPLE_ID" --password "$APPLE_PASSWORD" --wait
run: xcrun altool --notarize-app --username "$APPLE_ID" --password "$APPLE_PASSWORD" --primary-bundle-id "xyz.tea.gui" --file dist/$ZIP_FILE || true
env:
APPLE_ID: ${{ secrets.APPLE_ID }}
APPLE_PASSWORD: ${{ secrets.APPLE_PASSWORD }}

View file

@ -1,6 +1,6 @@
{
"name": "tea",
"version": "0.2.25",
"version": "0.2.26",
"private": true,
"description": "tea gui app",
"author": "tea.xyz",