Skip to content

Commit 22c498d

Browse files
committed
Run tauri action on new commits
1 parent 0da1a45 commit 22c498d

File tree

1 file changed

+28
-28
lines changed

1 file changed

+28
-28
lines changed

.github/workflows/main.yml

Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: "publish"
22
on:
33
push:
44
branches:
5-
- release
5+
- master
66

77
jobs:
88
publish-tauri:
@@ -13,30 +13,30 @@ jobs:
1313

1414
runs-on: ${{ matrix.platform }}
1515
steps:
16-
- uses: actions/checkout@v2
17-
- name: setup node
18-
uses: actions/setup-node@v1
19-
with:
20-
node-version: 12
21-
- name: install Rust stable
22-
uses: actions-rs/toolchain@v1
23-
with:
24-
toolchain: stable
25-
- name: install tauri bundler
26-
run: cargo install tauri-bundler --force
27-
- name: install webkit2gtk (ubuntu only)
28-
if: matrix.platform == 'ubuntu-latest'
29-
run: |
30-
sudo apt-get update
31-
sudo apt-get install -y webkit2gtk-4.0
32-
- name: install app dependencies and build it
33-
run: yarn && yarn build
34-
- uses: tauri-apps/tauri-action@v0
35-
env:
36-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
37-
with:
38-
tagName: app-v__VERSION__ # the action automatically replaces \_\_VERSION\_\_ with the app version
39-
releaseName: "App v__VERSION__"
40-
body: "See the assets to download this version and install."
41-
draft: true
42-
prerelease: false
16+
- uses: actions/checkout@v2
17+
- name: setup node
18+
uses: actions/setup-node@v1
19+
with:
20+
node-version: 12
21+
- name: install Rust stable
22+
uses: actions-rs/toolchain@v1
23+
with:
24+
toolchain: stable
25+
- name: install tauri bundler
26+
run: cargo install tauri-bundler --force
27+
- name: install webkit2gtk (ubuntu only)
28+
if: matrix.platform == 'ubuntu-latest'
29+
run: |
30+
sudo apt-get update
31+
sudo apt-get install -y webkit2gtk-4.0
32+
- name: install app dependencies and build it
33+
run: yarn && yarn build
34+
- uses: tauri-apps/tauri-action@v0
35+
env:
36+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
37+
with:
38+
tagName: app-v__VERSION__ # the action automatically replaces \_\_VERSION\_\_ with the app version
39+
releaseName: "App v__VERSION__"
40+
body: "See the assets to download this version and install."
41+
draft: true
42+
prerelease: false

0 commit comments

Comments
 (0)