Skip to content

Commit

Permalink
Merge pull request #97 from o108minmin/fix-tauri-release
Browse files Browse the repository at this point in the history
fix tauri release setup
  • Loading branch information
o108minmin authored Jan 14, 2023
2 parents 7431624 + 2a0a370 commit 9b36ae6
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 10 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,12 @@ jobs:
- uses: actions-rust-lang/setup-rust-toolchain@v1
with:
toolchain: stable
target: ${{ matrix.target }}
- name: install dependencies (ubuntu only)
run: |
sudo apt-get update
sudo apt-get install -y libgtk-3-dev webkit2gtk-4.0 libappindicator3-dev librsvg2-dev patchelf
- run: cargo build --release --target ${{ matrix.target }} --all-features --workspace --exclude halberd_gui
- run: cargo install cross --git https://github.com/cross-rs/cross
- run: cross build --release --target ${{ matrix.target }} --all-features --workspace --exclude halberd_gui
- name: Copy binary
run: |
cp target/${{ matrix.target }}/release/${{ matrix.artifact_name }} ./
Expand Down Expand Up @@ -87,9 +87,7 @@ jobs:
with:
node-version: 16
- name: install Rust stable
uses: actions-rs/toolchain@v1
with:
toolchain: stable
uses: dtolnay/rust-toolchain@stable
- name: install dependencies (ubuntu only)
if: matrix.platform == 'ubuntu-latest'
run: |
Expand Down
2 changes: 1 addition & 1 deletion halberd_cli/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "halberdcli"
version = "2.0.3"
version = "2.0.4"
edition = "2021"
authors = [
"o108minmin <[email protected]>",
Expand Down
2 changes: 1 addition & 1 deletion halberd_core/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "halberd_core"
version = "2.0.3"
version = "2.0.4"
edition = "2021"
authors = [
"o108minmin <[email protected]>",
Expand Down
2 changes: 1 addition & 1 deletion halberd_gui/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "halberd_gui",
"private": true,
"version": "2.0.3",
"version": "2.0.4",
"type": "module",
"scripts": {
"dev": "vite",
Expand Down
2 changes: 1 addition & 1 deletion halberd_gui/src-tauri/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "halberd_gui"
version = "2.0.3"
version = "2.0.4"
description = "A Tauri App"
authors = ["you"]
license = ""
Expand Down
2 changes: 1 addition & 1 deletion halberd_gui/src-tauri/tauri.conf.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
},
"package": {
"productName": "halberd-gui",
"version": "2.0.3"
"version": "2.0.4"
},
"tauri": {
"allowlist": {
Expand Down

0 comments on commit 9b36ae6

Please sign in to comment.