From 419c73dfe161451b5c0a10d487b2fac278c608da Mon Sep 17 00:00:00 2001 From: "954801926@qq.com" Date: Thu, 30 Jul 2026 00:48:20 +0800 Subject: [PATCH] =?UTF-8?q?fix(ci):=20=E6=98=BE=E5=BC=8F=E9=80=8F=E4=BC=A0?= =?UTF-8?q?=20GITHUB=5FTOKEN=20=E7=BB=99=20tauri-action=20=E4=B8=8A?= =?UTF-8?q?=E4=BC=A0=E7=94=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - tauri-action 报 'GITHUB_TOKEN is required' 实际是模板替换失败 - 在 step env 显式给 ${{ secrets.GITHUB_TOKEN }} 解决 --- .github/workflows/release.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9e8cf4d..65bfb49 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -71,6 +71,8 @@ jobs: - name: Build and upload release uses: tauri-apps/tauri-action@v0 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: tagName: ${{ github.ref_name }} releaseName: ${{ github.ref_name }}