This repository was archived by the owner on Feb 16, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +38
-0
lines changed Expand file tree Collapse file tree 1 file changed +38
-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+ strategy :
10+ fail-fast : false
11+ matrix :
12+ platform : [macos-latest, ubuntu-22.04, windows-latest]
13+
14+ runs-on : ${{ matrix.platform }}
15+ steps :
16+ - uses : actions/checkout@v3
17+ - name : setup node
18+ uses : actions/setup-node@v3
19+ with :
20+ node-version : 16
21+ - name : install Rust stable
22+ uses : dtolnay/rust-toolchain@stable
23+ - name : install dependencies (ubuntu only)
24+ if : matrix.platform == 'ubuntu-20.04'
25+ run : |
26+ sudo apt-get update
27+ sudo apt-get install -y libgtk-3-dev libwebkit2gtk-4.0-dev libappindicator3-dev librsvg2-dev patchelf
28+ - name : install app dependencies and build it
29+ run : yarn && yarn build
30+ - uses : tauri-apps/tauri-action@v0
31+ env :
32+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
33+ with :
34+ tagName : app-v__VERSION__ # the action automatically replaces \_\_VERSION\_\_ with the app version
35+ releaseName : ' App v__VERSION__'
36+ releaseBody : ' See the assets to download this version and install.'
37+ releaseDraft : true
38+ prerelease : false
You can’t perform that action at this time.
0 commit comments