Skip to content

Commit 09da9ee

Browse files
committed
Only run build release on push to main branch
1 parent 4e3678a commit 09da9ee

File tree

1 file changed

+6
-9
lines changed

1 file changed

+6
-9
lines changed

.github/workflows/tauri-build-self-hosted.yml

+6-9
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
1-
name: 'Build and publish bundles (self-hosted)'
1+
name: 'Build and release (self-hosted)'
22

3-
on: push
3+
on:
4+
push:
5+
branches:
6+
- tauri
47

58
jobs:
6-
publish-tauri:
9+
build-tauri:
710
permissions:
811
contents: write
912
strategy:
@@ -30,12 +33,6 @@ jobs:
3033
- name: Add wasm target
3134
run: rustup target add wasm32-unknown-unknown
3235

33-
# - name: Install dependencies (Ubuntu only)
34-
# if: matrix.platform == 'Ubuntu-24.04'
35-
# run: |
36-
# sudo apt-get update
37-
# sudo apt-get install -y libwebkit2gtk-4.1-dev libappindicator3-dev librsvg2-dev patchelf libudev-dev
38-
3936
- uses: tauri-apps/tauri-action@v0
4037
env:
4138
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)