66 branches : ' *'
77 workflow_dispatch :
88
9- env :
10- APP_NAME : " Idea Checklist"
11-
129jobs :
1310 publish-tauri :
1411 permissions :
@@ -17,11 +14,11 @@ jobs:
1714 fail-fast : false
1815 matrix :
1916 include :
20- - platform : ' macos-latest' # for Arm based macs (M1 and above).
17+ - platform : ' macos-latest'
2118 args : ' --target aarch64-apple-darwin'
22- - platform : ' macos-latest' # for Intel based macs.
19+ - platform : ' macos-latest'
2320 args : ' --target x86_64-apple-darwin'
24- - platform : ' ubuntu-22.04' # for Tauri v1 you could replace this with ubuntu-20.04.
21+ - platform : ' ubuntu-22.04'
2522 args : ' '
2623 - platform : ' windows-latest'
2724 args : ' '
@@ -38,26 +35,23 @@ jobs:
3835 - name : install Rust stable
3936 uses : dtolnay/rust-toolchain@stable
4037 with :
41- # Those targets are only used on macos runners so it's in an `if` to slightly speed up windows and linux builds.
4238 targets : ${{ matrix.platform == 'macos-latest' && 'aarch64-apple-darwin,x86_64-apple-darwin' || '' }}
4339
4440 - name : install dependencies (ubuntu only)
4541 if : matrix.platform == 'ubuntu-22.04' # This must match the platform value defined above.
4642 run : |
4743 sudo apt-get update
4844 sudo apt-get install -y libwebkit2gtk-4.0-dev libwebkit2gtk-4.1-dev libappindicator3-dev librsvg2-dev patchelf
49- # webkitgtk 4.0 is for Tauri v1 - webkitgtk 4.1 is for Tauri v2.
50- # You can remove the one that doesn't apply to your app to speed up the workflow a bit.
5145
5246 - name : install frontend dependencies
53- run : npm install # change this to npm, pnpm or bun depending on which one you use.
47+ run : npm install
5448
5549 - uses : tauri-apps/tauri-action@v0
5650 env :
5751 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
5852 with :
59- tagName : app- v__VERSION__ # the action automatically replaces \_\_VERSION\_\_ with the app version.
60- releaseName : ' App v__VERSION__'
53+ tagName : idea-checklist- v__VERSION__
54+ releaseName : ' Idea Checklist v__VERSION__'
6155 releaseBody : ' See the assets to download this version and install.'
6256 releaseDraft : true
6357 prerelease : false
0 commit comments