Skip to content

Commit e68a8ab

Browse files
committed
windows build
1 parent ad340c5 commit e68a8ab

File tree

1 file changed

+39
-0
lines changed

1 file changed

+39
-0
lines changed
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
name: Build Tauri Windows App
2+
description: Build Tauri v2 application for Windows
3+
4+
on:
5+
push:
6+
branches:
7+
- main
8+
9+
jobs:
10+
build:
11+
runs-on: windows-latest
12+
steps:
13+
- name: Checkout code
14+
uses: actions/checkout@v4
15+
16+
- name: Setup Node.js
17+
uses: actions/setup-node@v4
18+
with:
19+
node-version: 20
20+
cache: "yarn"
21+
22+
- name: Install Rust
23+
uses: dtolnay/rust-toolchain@stable
24+
25+
- name: Install frontend dependencies
26+
shell: bash
27+
run: yarn install --frozen-lockfile
28+
29+
- name: Build Windows app
30+
shell: bash
31+
run: yarn tauri build
32+
33+
- name: Upload Windows artifacts
34+
uses: actions/upload-artifact@v4
35+
with:
36+
name: tauri-windows-installers
37+
path: |
38+
src-tauri/target/release/bundle/msi/*.msi
39+
src-tauri/target/release/bundle/nsis/*.exe

0 commit comments

Comments
 (0)