File tree 1 file changed +40
-0
lines changed
1 file changed +40
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : ' publish'
2
+ on :
3
+ push :
4
+ branches :
5
+ - release
6
+
7
+ jobs :
8
+ publish-tauri :
9
+ permissions :
10
+ contents : write
11
+ strategy :
12
+ fail-fast : false
13
+ matrix :
14
+ platform : [macos-latest, ubuntu-20.04, windows-latest]
15
+
16
+ runs-on : ${{ matrix.platform }}
17
+ steps :
18
+ - uses : actions/checkout@v3
19
+ - name : setup node
20
+ uses : actions/setup-node@v3
21
+ with :
22
+ node-version : 16
23
+ - name : install Rust stable
24
+ uses : dtolnay/rust-toolchain@stable
25
+ - name : install dependencies (ubuntu only)
26
+ if : matrix.platform == 'ubuntu-20.04'
27
+ run : |
28
+ sudo apt-get update
29
+ sudo apt-get install -y libgtk-3-dev libwebkit2gtk-4.0-dev libappindicator3-dev librsvg2-dev patchelf
30
+ - name : install frontend dependencies
31
+ run : yarn install # change this to npm or pnpm depending on which one you use
32
+ - uses : tauri-apps/tauri-action@v0
33
+ env :
34
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
35
+ with :
36
+ tagName : app-v__VERSION__ # the action automatically replaces \_\_VERSION\_\_ with the app version
37
+ releaseName : ' App v__VERSION__'
38
+ releaseBody : ' See the assets to download this version and install.'
39
+ releaseDraft : true
40
+ prerelease : false
You can’t perform that action at this time.
0 commit comments