From 900c1b10e72b29e404879ba19a58bdebe24e4a7f Mon Sep 17 00:00:00 2001 From: neil Date: Thu, 2 Feb 2023 13:31:49 +0800 Subject: [PATCH] test codesign --- .github/workflows/ci.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 84cc018..616eea2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -139,8 +139,8 @@ jobs: # APPLE_SIGNING_IDENTITY: ${{ secrets.APPLE_SIGNING_IDENTITY }} run: tea -ES xc build - run: mkdir -p target - - run: cp ./modules/desktop/dist/tea-0.0.0-arm64.dmg ./target - - run: cp ./modules/desktop/dist/tea-0.0.0-arm64.zip ./target + - run: cp ./modules/desktop/dist/**/*.dmg ./target/tea.dmg + - run: cp ./modules/desktop/dist/**/*.zip ./target/tea.zip - run: tar -czvf artifacts.tgz -C ./target/ . - name: upload artifacts uses: actions/upload-artifact@v3 @@ -169,6 +169,10 @@ jobs: env: APPLE_ID: ${{ secrets.APPLE_ID }} APPLE_PASSWORD: ${{ secrets.APPLE_PASSWORD }} + - run: xcrun altool --notarize-app --username "$APPLE_ID" --password "$APPLE_PASSWORD" --primary-bundle-id "xyz.tea.gui" --file ./tea.dmg + env: + APPLE_ID: ${{ secrets.APPLE_ID }} + APPLE_PASSWORD: ${{ secrets.APPLE_PASSWORD }} # build_tauri: # needs: changes @@ -288,7 +292,6 @@ jobs: - name: zip .app for MacOS if: startsWith(matrix.platform.name, 'darwin+') run: | - cd ./macos/ zip -r tea.zip tea.app - uses: aws-actions/configure-aws-credentials@v1