test notarytool (#661)

This commit is contained in:
Neil 2023-06-14 09:00:52 +08:00 committed by GitHub
parent 634a875100
commit fa590e7985
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 3 deletions

View file

@ -208,15 +208,18 @@ jobs:
# Notarize. Can take up to 10 minutes (and fail) asynchronously
# sometimes this might fail because exact the same zip has been uploaded already
- name: notarize .app arm64
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" --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
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 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" --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
env:
APPLE_ID: ${{ secrets.APPLE_ID }}
APPLE_PASSWORD: ${{ secrets.APPLE_PASSWORD }}

View file

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