Skip to content

Commit 325838d

Browse files
committed
Use explicit Tauri CLI builds for bundled backend release
1 parent 5bbea36 commit 325838d

8 files changed

Lines changed: 26 additions & 14 deletions

File tree

.github/workflows/release-desktop.yml

Lines changed: 17 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,17 @@ jobs:
2020
os: macos-14
2121
rust-targets: aarch64-apple-darwin
2222
args: --target aarch64-apple-darwin
23+
bundles: dmg
2324
- label: windows-x86_64
2425
os: windows-latest
2526
rust-targets: x86_64-pc-windows-msvc
2627
args: --target x86_64-pc-windows-msvc
28+
bundles: nsis
2729
- label: linux-x86_64
2830
os: ubuntu-22.04
2931
rust-targets: x86_64-unknown-linux-gnu
3032
args: --target x86_64-unknown-linux-gnu
33+
bundles: appimage,deb
3134
runs-on: ${{ matrix.os }}
3235
steps:
3336
- uses: actions/checkout@v4
@@ -134,12 +137,21 @@ jobs:
134137
if [ -d src-tauri/icons/icon.iconset ]; then
135138
iconutil -c icns src-tauri/icons/icon.iconset -o src-tauri/icons/icon.icns
136139
fi
137-
- name: Build Tauri app
138-
uses: tauri-apps/tauri-action@v0
140+
- name: Build Tauri app (Unix)
141+
if: runner.os != 'Windows'
142+
shell: bash
139143
env:
140-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
141-
with:
142-
args: ${{ matrix.args }}
144+
CI: 'true'
145+
run: |
146+
set -euxo pipefail
147+
npm run tauri -- build ${{ matrix.args }} --bundles ${{ matrix.bundles }}
148+
- name: Build Tauri app (Windows)
149+
if: runner.os == 'Windows'
150+
shell: pwsh
151+
env:
152+
CI: 'true'
153+
run: |
154+
npm run tauri -- build ${{ matrix.args }} --bundles ${{ matrix.bundles }}
143155
- name: Verify bundled backend files exist
144156
shell: bash
145157
run: |

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ https://github.com/TerminallyLazy/misconducting/releases/latest
1010

1111
Current locally built release assets are Linux ARM64:
1212

13-
- `Symphony Console_0.1.7_aarch64.AppImage`
14-
- `Symphony Console_0.1.7_arm64.deb`
13+
- `Symphony Console_0.1.8_aarch64.AppImage`
14+
- `Symphony Console_0.1.8_arm64.deb`
1515

1616
The GitHub Actions workflow `.github/workflows/release-desktop.yml` is configured to build macOS, Windows, Linux x86_64, and Linux ARM64 packages from release tags.
1717

RELEASE_WORKFLOW_NOTE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ It builds:
99
- Linux x86_64 AppImage/DEB
1010
- Linux ARM64 AppImage/DEB
1111

12-
Push tag `v0.1.7` or run the workflow manually from GitHub Actions to produce release artifacts.
12+
Push tag `v0.1.8` or run the workflow manually from GitHub Actions to produce release artifacts.

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "symphony-desktop",
3-
"version": "0.1.7",
3+
"version": "0.1.8",
44
"private": true,
55
"type": "module",
66
"scripts": {

src-tauri/Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src-tauri/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "symphony_desktop"
3-
version = "0.1.7"
3+
version = "0.1.8"
44
edition = "2021"
55

66
[build-dependencies]

src-tauri/tauri.conf.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"productName": "Symphony Console",
3-
"version": "0.1.7",
3+
"version": "0.1.8",
44
"identifier": "dev.symphony.console",
55
"build": {
66
"beforeDevCommand": "npm run dev",

0 commit comments

Comments
 (0)