Skip to content

Commit 1bd55e8

Browse files
committed
chore(dependencies): update tauri-build version and streamline build steps
1 parent 26ee9c9 commit 1bd55e8

2 files changed

Lines changed: 5 additions & 11 deletions

File tree

.github/workflows/publish-bun.yml

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -61,17 +61,11 @@ jobs:
6161
sudo apt-get update
6262
sudo apt-get install -y libwebkit2gtk-4.1-dev libappindicator3-dev librsvg2-dev patchelf
6363
64-
# 7) Build frontend
65-
- name: 🛠 Build frontend
66-
run: bun run build
67-
68-
# 8) Build Tauri app
64+
# 7) Build Tauri app (includes frontend build)
6965
- name: 📦 Build Tauri
70-
run: |
71-
cd src-tauri
72-
cargo build --release
66+
run: bun run tauri build
7367

74-
# 9) Package artifacts
68+
# 8) Package artifacts
7569
- name: 📦 Package artifacts
7670
shell: bash
7771
run: |
@@ -84,7 +78,7 @@ jobs:
8478
cp src-tauri/target/release/tauth artifacts/TAuth-${{ github.ref_name }}-linux
8579
fi
8680
87-
# 10) Upload artifacts
81+
# 9) Upload artifacts
8882
- name: 📤 Upload artifacts
8983
uses: actions/upload-artifact@v4
9084
with:

src-tauri/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ name = "tauth"
1515
crate-type = ["staticlib", "cdylib", "rlib"]
1616

1717
[build-dependencies]
18-
tauri-build = { version = "2", features = [] }
18+
tauri-build = { version = "2.5.5", features = [] }
1919

2020
[dependencies]
2121
tauri = { version = "2.10.2", features = [] }

0 commit comments

Comments
 (0)