ci: codesign

This commit is contained in:
MystiPanda 2024-06-08 18:06:44 +08:00
parent 0cffe8e3f7
commit b4349afb1b
No known key found for this signature in database
2 changed files with 3 additions and 16 deletions

View File

@ -59,12 +59,6 @@ jobs:
pnpm i
pnpm check ${{ matrix.target }}
- name: Download and install Apple intermediate certificates
if: matrix.os == 'macos-latest'
run: |
curl -O https://www.apple.com/certificateauthority/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
env:
@ -75,10 +69,6 @@ jobs:
APPLE_CERTIFICATE: ${{ secrets.APPLE_CERTIFICATE }}
APPLE_CERTIFICATE_PASSWORD: ${{ secrets.APPLE_CERTIFICATE_PASSWORD }}
APPLE_SIGNING_IDENTITY: ${{ secrets.APPLE_SIGNING_IDENTITY }}
#加入以下内容为提交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"

View File

@ -56,12 +56,6 @@ jobs:
pnpm i
pnpm check ${{ matrix.target }}
- name: Download and install Apple intermediate certificates
if: matrix.os == 'macos-latest'
run: |
curl -O https://www.apple.com/certificateauthority/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
env:
@ -69,6 +63,9 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
TAURI_PRIVATE_KEY: ${{ secrets.TAURI_PRIVATE_KEY }}
TAURI_KEY_PASSWORD: ${{ secrets.TAURI_KEY_PASSWORD }}
APPLE_CERTIFICATE: ${{ secrets.APPLE_CERTIFICATE }}
APPLE_CERTIFICATE_PASSWORD: ${{ secrets.APPLE_CERTIFICATE_PASSWORD }}
APPLE_SIGNING_IDENTITY: ${{ secrets.APPLE_SIGNING_IDENTITY }}
with:
tagName: v__VERSION__
releaseName: "Clash Verge Rev v__VERSION__"