Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 21 additions & 9 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ jobs:
cli:
name: cli • ${{ matrix.target }}
runs-on: ${{ matrix.os }}
timeout-minutes: 30
strategy:
fail-fast: false
matrix:
Expand All @@ -24,9 +25,10 @@ jobs:
# Windows
- { os: windows-latest, target: x86_64-pc-windows-msvc, ext: ".exe" }
- { os: windows-latest, target: aarch64-pc-windows-msvc, ext: ".exe" }
# macOS (arm64 native + Intel native on the x86 runner image)
# macOS: arm64 native on the Apple Silicon runner; Intel cross-compiled on the
# same runner (macos-13 is retired and hung to the 24h limit).
- { os: macos-latest, target: aarch64-apple-darwin, ext: "" }
- { os: macos-13, target: x86_64-apple-darwin, ext: "" }
- { os: macos-latest, target: x86_64-apple-darwin, ext: "" }
steps:
- uses: actions/checkout@v5
- uses: dtolnay/rust-toolchain@stable
Expand Down Expand Up @@ -78,18 +80,26 @@ jobs:
diskghost-${{ matrix.target }}${{ matrix.ext }}.sha256

gui:
name: gui bundle • ${{ matrix.os }}
name: gui bundle • ${{ matrix.name }}
runs-on: ${{ matrix.os }}
timeout-minutes: 60
strategy:
fail-fast: false
matrix:
# Native bundle per OS/arch: .AppImage/.deb/.rpm (Linux),
# .msi/.exe (Windows), .dmg for both Apple Silicon (macos-latest)
# and Intel (macos-13). Bundles are unsigned (no signing certs).
os: [ubuntu-latest, windows-latest, macos-latest, macos-13]
# Native bundle per OS/arch: .AppImage/.deb/.rpm (Linux), .msi/.exe (Windows),
# .dmg for Apple Silicon and Intel. macos-13 (Intel runner) is retired and used to
# hang to the 24h limit, so the Intel .dmg is cross-compiled on the Apple Silicon
# runner via --target x86_64-apple-darwin. Bundles are unsigned (no signing certs).
include:
- { os: ubuntu-latest, name: linux, target: "" }
- { os: windows-latest, name: windows, target: "" }
- { os: macos-latest, name: macos-arm64, target: aarch64-apple-darwin }
- { os: macos-latest, name: macos-x64, target: x86_64-apple-darwin }
steps:
- uses: actions/checkout@v5
- uses: dtolnay/rust-toolchain@stable
with:
targets: ${{ matrix.target }}
- name: Install Tauri system dependencies (Linux)
if: runner.os == 'Linux'
run: |
Expand All @@ -109,13 +119,15 @@ jobs:

- name: Build GUI bundles
working-directory: gui/src-tauri
run: cargo tauri build
run: cargo tauri build ${{ matrix.target != '' && format('--target {0}', matrix.target) || '' }}

- name: Collect bundles
shell: bash
run: |
mkdir -p dist
find gui/src-tauri/target/release/bundle -type f \
# Match both host builds (target/release/bundle) and cross builds
# (target/<triple>/release/bundle) so the Intel .dmg is picked up too.
find gui/src-tauri/target -type f -path '*/release/bundle/*' \
\( -name "*.dmg" -o -name "*.app.tar.gz" \
-o -name "*.msi" -o -name "*-setup.exe" \
-o -name "*.deb" -o -name "*.rpm" -o -name "*.AppImage" \) \
Expand Down
4 changes: 2 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ exclude = ["gui"]
resolver = "2"

[workspace.package]
version = "0.5.0"
version = "0.6.0"
edition = "2021"
license = "MIT"
authors = ["kingchenc"]
Expand Down
18 changes: 14 additions & 4 deletions gui/src-tauri/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion gui/src-tauri/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

[package]
name = "diskghost-gui"
version = "0.5.0"
version = "0.6.0"
edition = "2021"
license = "MIT"
description = "Diskghost desktop GUI (Tauri) — modern disk usage & duplicate finder."
Expand Down
2 changes: 1 addition & 1 deletion gui/src-tauri/tauri.conf.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"$schema": "https://schema.tauri.app/config/2",
"productName": "Diskghost",
"version": "0.5.0",
"version": "0.6.0",
"identifier": "org.diskghost.app",
"build": {
"frontendDist": "../ui"
Expand Down
Loading