Skip to content

Commit 8eaf24b

Browse files
authored
Update tauri-build.yml
1 parent 819ff2a commit 8eaf24b

File tree

1 file changed

+3
-19
lines changed

1 file changed

+3
-19
lines changed

.github/workflows/tauri-build.yml

+3-19
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,8 @@ on:
44
push:
55
branches:
66
- main
7-
pull_request:
8-
branches:
9-
- main
7+
tags:
8+
- 'v1.0.0'
109

1110
jobs:
1211
publish-tauri:
@@ -48,13 +47,7 @@ jobs:
4847
4948
- name: install frontend dependencies
5049
run: yarn install
51-
52-
- name: Navigate to Rust project directory
53-
run: cd trendline/src-tauri
54-
55-
- name: Build the project
56-
run: cargo build --release
57-
50+
5851
- uses: tauri-apps/tauri-action@v0
5952
env:
6053
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@@ -66,15 +59,6 @@ jobs:
6659
prerelease: false
6760
args: ${{ matrix.args }}
6861

69-
- name: Check build output
70-
run: ls -alh ./target/release
71-
72-
- name: Upload binary
73-
uses: actions/upload-artifact@v4
74-
with:
75-
name: trendline-${{ matrix.platform }}
76-
path: ./target/release/trendline
77-
7862
create-release:
7963
needs: publish-tauri
8064
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)