From a9dc7ea5354f409e36e11b74c3fbf021baebc1c0 Mon Sep 17 00:00:00 2001 From: Johan Novak Date: Mon, 22 Jan 2024 15:12:49 -0800 Subject: [PATCH] Update publish.yml --- .github/workflows/publish.yml | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index a76a8f5..1401f2b 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -45,7 +45,8 @@ jobs: if: matrix.platform == 'windows-latest' run: npm install - - uses: tauri-apps/tauri-action@v0 + - name: build tauri release (except windows) + uses: tauri-apps/tauri-action@v0 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: @@ -54,3 +55,16 @@ jobs: releaseBody: 'See the assets to download this version and install.' releaseDraft: true prerelease: false + + - name: build tauri release (windows only) + uses: tauri-apps/tauri-action@v0 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + tagName: app-v__VERSION__ # the action automatically replaces \_\_VERSION\_\_ with the app version + releaseName: 'Siffra v__VERSION__' + releaseBody: 'See the assets to download this version and install.' + releaseDraft: true + prerelease: false + args: | + -c '{"build": {"beforeBuildCommand": "npm run build"}}'