From 8dc3077c74800b833b607334a4582d585edcfdb1 Mon Sep 17 00:00:00 2001 From: Ren Amamiya <123083837+reyamir@users.noreply.github.com> Date: Wed, 5 Jul 2023 09:03:39 +0700 Subject: [PATCH] update gh actions --- .github/workflows/main.yml | 2 ++ src-tauri/tauri.conf.json | 7 ++++--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 6d71a648..0c5ffdb7 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -60,6 +60,8 @@ jobs: - uses: tauri-apps/tauri-action@dev env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + TAURI_PRIVATE_KEY: ${{ secrets.TAURI_PRIVATE_KEY }} + TAURI_KEY_PASSWORD: ${{ secrets.TAURI_KEY_PASSWORD }} with: tagName: 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 2cea9147..4221823e 100644 --- a/src-tauri/tauri.conf.json +++ b/src-tauri/tauri.conf.json @@ -109,10 +109,11 @@ }, "updater": { "active": true, - "endpoints": [ - "https://releases.lume.nu/{{target}}/{{arch}}/{{current_version}}" - ], "dialog": true, + "endpoints": [ + "https://releases.lume.nu/v1/{{target}}/{{arch}}/{{current_version}}", + "https://releases.lume.nu/{{target}}/{{current_version}}" + ], "pubkey": "dW50cnVzdGVkIGNvbW1lbnQ6IG1pbmlzaWduIHB1YmxpYyBrZXk6IEU4RjAzODFBREQ4MkM3RTEKUldUaHg0TGRHamp3NkI5bnhoOEVjanlHWFNzQ2Q3NDhubFFLUmJpSHJ1L2FqNnB3alF1Y2R3U3gK", "windows": { "installMode": "passive"