File tree Expand file tree Collapse file tree 1 file changed +39
-0
lines changed Expand file tree Collapse file tree 1 file changed +39
-0
lines changed Original file line number Diff line number Diff line change 3636 static-site-env-prefix : VITE
3737 needs :
3838 - ci
39+
40+ package-tauri :
41+ runs-on : ${{ matrix.platform }}
42+ strategy :
43+ matrix :
44+ platform : [macos-latest, ubuntu-20.04, windows-latest]
45+ name : Package Tauri app
46+
47+ steps :
48+ - uses : actions/checkout@v4
49+ with :
50+ fetch-depth : 0
51+
52+ - name : setup node
53+ uses : actions/setup-node@v4
54+ with :
55+ node-version : 20
56+
57+ - name : install Rust stable
58+ uses : dtolnay/rust-toolchain@stable
59+
60+ - name : install dependencies (ubuntu only)
61+ if : matrix.platform == 'ubuntu-20.04'
62+ run : |
63+ sudo apt-get update
64+ sudo apt-get install -y libgtk-3-dev libwebkit2gtk-4.0-dev libappindicator3-dev librsvg2-dev patchelf
65+
66+ - name : install app dependencies
67+ run : npm install
68+
69+ - uses : tauri-apps/tauri-action@v0
70+ env :
71+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
72+ with :
73+ tagName : app-v__VERSION__ # the action automatically replaces \_\_VERSION\_\_ with the app version
74+ releaseName : ' App v__VERSION__'
75+ releaseBody : ' See the assets to download this version and install.'
76+ releaseDraft : true
77+ prerelease : false
You can’t perform that action at this time.
0 commit comments