File tree Expand file tree Collapse file tree 1 file changed +50
-0
lines changed
Expand file tree Collapse file tree 1 file changed +50
-0
lines changed Original file line number Diff line number Diff line change 1+ # This is a basic workflow to help you get started with Actions
2+
3+ name : CI
4+
5+ # Controls when the action will run.
6+ on :
7+ # Triggers the workflow on push or pull request events but only for the master branch
8+ push :
9+ branches : [ master ]
10+ pull_request :
11+ branches : [ master ]
12+
13+ # Allows you to run this workflow manually from the Actions tab
14+ workflow_dispatch :
15+
16+ # A workflow run is made up of one or more jobs that can run sequentially or in parallel
17+ jobs :
18+ publish-tauri :
19+ strategy :
20+ fail-fast : false
21+ matrix :
22+ platform : [macos-latest, ubuntu-latest, windows-latest]
23+
24+ runs-on : ${{ matrix.platform }}
25+ steps :
26+ - uses : actions/checkout@v2
27+ - name : setup node
28+ uses : actions/setup-node@v1
29+ with :
30+ node-version : 12
31+ - name : install Rust stable
32+ uses : actions-rs/toolchain@v1
33+ with :
34+ toolchain : stable
35+ - name : install webkit2gtk (ubuntu only)
36+ if : matrix.platform == 'ubuntu-latest'
37+ run : |
38+ sudo apt-get update
39+ sudo apt-get install -y webkit2gtk-4.0
40+ - name : install app dependencies and build it
41+ run : yarn && yarn build
42+ - uses : tauri-apps/tauri-action@v0.1.2
43+ env :
44+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
45+ with :
46+ tagName : app-v__VERSION__ # the action automatically replaces \_\_VERSION\_\_ with the app version
47+ releaseName : " App v__VERSION__"
48+ body : " See the assets to download this version and install."
49+ draft : true
50+ prerelease : false
You can’t perform that action at this time.
0 commit comments