Skip to content

Commit

Permalink
Update tauri-build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Amanmahe authored Oct 17, 2024
1 parent 616b266 commit 7c19813
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/tauri-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
cache: 'yarn' # Set this to npm, yarn or pnpm.

- name: install Rust stable
uses: dtolnay/rust-toolchain@stable # Set this to dtolnay/rust-toolchain@nightly
uses: dtolnay/rust-toolchain@stable
with:
# Those targets are only used on macos runners so it's in an `if` to slightly speed up windows and linux builds.
targets: ${{ matrix.platform == 'macos-latest' && 'aarch64-apple-darwin,x86_64-apple-darwin' || '' }}
Expand All @@ -58,9 +58,15 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tagName: app-v__VERSION__ # the action automatically replaces \_\_VERSION\_\_ with the app version.
tagName: app-v__VERSION__ # the action automatically replaces __VERSION__ with the app version.
releaseName: 'App v__VERSION__'
releaseBody: 'See the assets to download this version and install.'
releaseDraft: true
prerelease: false
args: ${{ matrix.args }}

- name: Upload Artifacts
uses: actions/upload-artifact@v3
with:
name: tauri-${{ matrix.platform }}-build
path: src-tauri/target/release/bundle/ # Adjust this path based on where your Tauri build output is stored.

0 comments on commit 7c19813

Please sign in to comment.