From f5162cd6b9ba27755735fb44d94f34867736cfee Mon Sep 17 00:00:00 2001 From: YanceyOfficial Date: Fri, 18 Oct 2024 16:35:47 +0800 Subject: [PATCH 1/2] ci: update ci --- .github/workflows/cross-platform-release.yml | 2 ++ src-tauri/tauri.conf.json | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/cross-platform-release.yml b/.github/workflows/cross-platform-release.yml index c9351ee..0f953ba 100644 --- a/.github/workflows/cross-platform-release.yml +++ b/.github/workflows/cross-platform-release.yml @@ -59,6 +59,8 @@ jobs: - uses: tauri-apps/tauri-action@v0 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + TAURI_PRIVATE_KEY: ${{ secrets.TAURI_PRIVATE_KEY }} + TAURI_KEY_PASSWORD: ${{ secrets.TAURI_KEY_PASSWORD }} with: tagName: app-v__VERSION__ # the action automatically replaces \_\_VERSION\_\_ with the app version. releaseName: 'App v__VERSION__' diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json index 0f64cb6..3bf9ccc 100644 --- a/src-tauri/tauri.conf.json +++ b/src-tauri/tauri.conf.json @@ -23,7 +23,7 @@ "identifier": "app.yancey.hyperchat", "plugins": { "updater": { - "pubkey": "dW50cnVzdGVkIGNvbW1lbnQ6IG1pbmlzaWduIHB1YmxpYyBrZXk6IEQxREEzQTNDNjY5MjJENDcKUldSSExaSm1QRHJhMFFwQ3I5dWI4ZmJKNG9CSG1kVE90M3pHajZ5TWhCMUhaejJBbDNWNFVZbkgK", + "pubkey": "dW50cnVzdGVkIGNvbW1lbnQ6IG1pbmlzaWduIHB1YmxpYyBrZXk6IEVDNTVCNDc3NUE3MjVERTAKUldUZ1hYSmFkN1JWN1Bya1FuMDM1R2xOZU9KMXR3ZURCb2pkVXFveTJDcEJMTkUxZWtBT0phY3YK", "endpoints": [ "https://faas.yancey.app/api/updater/{{target}}/{{arch}}/{{current_version}}?code=PjS1zF7Vc1QMrJ80C3xJS1tqkGqH-pT4oNlPfkFBYt0YAzFupnB5tA==" ], From 39f68ede98bddf6193bfae17ee2124560db933c6 Mon Sep 17 00:00:00 2001 From: YanceyOfficial Date: Fri, 18 Oct 2024 16:42:36 +0800 Subject: [PATCH 2/2] ci: update ci --- .github/workflows/cross-platform-release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/cross-platform-release.yml b/.github/workflows/cross-platform-release.yml index 0f953ba..db869e4 100644 --- a/.github/workflows/cross-platform-release.yml +++ b/.github/workflows/cross-platform-release.yml @@ -59,8 +59,8 @@ jobs: - uses: tauri-apps/tauri-action@v0 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - TAURI_PRIVATE_KEY: ${{ secrets.TAURI_PRIVATE_KEY }} - TAURI_KEY_PASSWORD: ${{ secrets.TAURI_KEY_PASSWORD }} + TAURI_SIGNING_PRIVATE_KEY: ${{ secrets.TAURI_SIGNING_PRIVATE_KEY }} + TAURI_SIGNING_PRIVATE_KEY_PASSWORD: ${{ secrets.TAURI_SIGNING_PRIVATE_KEY_PASSWORD }} with: tagName: app-v__VERSION__ # the action automatically replaces \_\_VERSION\_\_ with the app version. releaseName: 'App v__VERSION__'