From 5768b017864ae87107e2b0e24eb50d4d73dc2a8e Mon Sep 17 00:00:00 2001 From: wonfen Date: Fri, 7 Jun 2024 17:19:44 +0800 Subject: [PATCH] fix: apple sign error again --- .github/workflows/alpha.yml | 9 +++++---- .github/workflows/release.yml | 9 +++++---- 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/.github/workflows/alpha.yml b/.github/workflows/alpha.yml index 4002ede..705c9f1 100644 --- a/.github/workflows/alpha.yml +++ b/.github/workflows/alpha.yml @@ -63,7 +63,7 @@ jobs: if: matrix.os == 'macos-latest' run: | curl -O https://www.apple.com/certificateauthority/DeveloperIDG2CA.cer - sudo security add-trusted-cert -d -r trustRoot -k /Library/Keychains/System.keychain DeveloperIDG2CA.cer + sudo security add-trusted-cert -d -r trustRoot -k ${HOME}/Library/Keychains/login.keychain-db DeveloperIDG2CA.cer - name: Tauri build uses: tauri-apps/tauri-action@v0 @@ -75,9 +75,10 @@ jobs: APPLE_CERTIFICATE: ${{ secrets.APPLE_CERTIFICATE }} APPLE_CERTIFICATE_PASSWORD: ${{ secrets.APPLE_CERTIFICATE_PASSWORD }} APPLE_SIGNING_IDENTITY: ${{ secrets.APPLE_SIGNING_IDENTITY }} - APPLE_ID: ${{ secrets.APPLE_ID }} - APPLE_PASSWORD: ${{ secrets.APPLE_PASSWORD }} - APPLE_TEAM_ID: ${{ secrets.APPLE_TEAM_ID }} + #加入以下内容为提交app到apple认证,当前会报错,已发邮件与apple沟通 + #APPLE_ID: ${{ secrets.APPLE_ID }} + #APPLE_PASSWORD: ${{ secrets.APPLE_PASSWORD }} + #APPLE_TEAM_ID: ${{ secrets.APPLE_TEAM_ID }} with: tagName: alpha releaseName: "Clash Verge Rev Alpha" diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 36c2e6a..e54a1fc 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -60,7 +60,7 @@ jobs: if: matrix.os == 'macos-latest' run: | curl -O https://www.apple.com/certificateauthority/DeveloperIDG2CA.cer - sudo security add-trusted-cert -d -r trustRoot -k /Library/Keychains/System.keychain DeveloperIDG2CA.cer + sudo security add-trusted-cert -d -r trustRoot -k ${HOME}/Library/Keychains/login.keychain-db DeveloperIDG2CA.cer - name: Tauri build uses: tauri-apps/tauri-action@v0 @@ -109,9 +109,10 @@ jobs: APPLE_CERTIFICATE: ${{ secrets.APPLE_CERTIFICATE }} APPLE_CERTIFICATE_PASSWORD: ${{ secrets.APPLE_CERTIFICATE_PASSWORD }} APPLE_SIGNING_IDENTITY: ${{ secrets.APPLE_SIGNING_IDENTITY }} - APPLE_ID: ${{ secrets.APPLE_ID }} - APPLE_PASSWORD: ${{ secrets.APPLE_PASSWORD }} - APPLE_TEAM_ID: ${{ secrets.APPLE_TEAM_ID }} + #加入以下内容为提交app到apple认证,当前会报错,已发邮件与apple沟通 + #APPLE_ID: ${{ secrets.APPLE_ID }} + #APPLE_PASSWORD: ${{ secrets.APPLE_PASSWORD }} + #APPLE_TEAM_ID: ${{ secrets.APPLE_TEAM_ID }} with: target: ${{ matrix.target }}