From 05e28f64035783040d4f1aef03723b640925bfcb Mon Sep 17 00:00:00 2001 From: HsiangNianian Date: Wed, 14 Jan 2026 14:46:24 +0800 Subject: feat: update changelog generation to include invalid commits and disable Gitmojis --- .github/workflows/release.yml | 2 ++ 1 file changed, 2 insertions(+) (limited to '.github/workflows/release.yml') diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 23d4181..774e547 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -38,6 +38,8 @@ jobs: token: ${{ github.token }} tag: ${{ github.event_name == 'workflow_dispatch' && inputs.tag_name || github.ref_name }} changelogFilePath: CHANGELOG.md + includeInvalidCommits: true + useGitmojis: false - name: Create Release id: create_release -- cgit v1.2.3-70-g09d2 From 2246686200a87872e096a8e722e6f92bf78f16ff Mon Sep 17 00:00:00 2001 From: HsiangNianian Date: Wed, 14 Jan 2026 19:42:48 +0800 Subject: feat: add Arch Linux support for build and test workflows --- .github/workflows/release.yml | 52 +++++++++++++++++++++++++++++++++++++++++++ .github/workflows/test.yml | 29 ++++++++++++++++++++++++ 2 files changed, 81 insertions(+) (limited to '.github/workflows/release.yml') diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 774e547..5bf8caa 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -131,3 +131,55 @@ jobs: with: releaseId: ${{ needs.promote-release.outputs.release_id }} args: ${{ matrix.args }} + + build-tauri-arch: + name: Build & Upload (Arch Linux) + needs: promote-release + permissions: + contents: write + runs-on: ubuntu-latest + container: + image: archlinux:latest + steps: + - name: Install Dependencies + run: | + pacman -Syu --noconfirm + pacman -S --noconfirm webkit2gtk base-devel curl wget file openssl appmenu-gtk-module libappindicator-gtk3 librsvg git + # Fix makepkg running as root + sed -i 's/E_ROOT=1/E_ROOT=0/' /usr/bin/makepkg || true + + - uses: actions/checkout@v4 + + - name: Install pnpm + uses: pnpm/action-setup@v4 + with: + version: 9 + + - name: Install Node.js + uses: actions/setup-node@v4 + with: + node-version: 22 + cache: "pnpm" + cache-dependency-path: "ui/pnpm-lock.yaml" + + - name: Install Frontend Dependencies + run: pnpm install + working-directory: ui + + - name: Install Rust + uses: dtolnay/rust-toolchain@stable + with: + targets: "x86_64-unknown-linux-gnu" + + - name: Rust Cache + uses: swatinem/rust-cache@v2 + with: + workspaces: "./src-tauri -> target" + + - name: Build Tauri App + uses: tauri-apps/tauri-action@v0 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + releaseId: ${{ needs.promote-release.outputs.release_id }} + args: "--target x86_64-unknown-linux-gnu" \ No newline at end of file diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index b5311c9..e123e95 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -47,3 +47,32 @@ jobs: - name: Build (Dev) working-directory: ./src-tauri run: cargo build --verbose + + test-arch: + name: Test on Arch Linux + runs-on: ubuntu-latest + container: + image: archlinux:latest + steps: + - name: Install Dependencies + run: | + pacman -Syu --noconfirm + pacman -S --noconfirm webkit2gtk base-devel curl wget file openssl appmenu-gtk-module libappindicator-gtk3 librsvg git + + - uses: actions/checkout@v4 + + - name: Install Rust + uses: dtolnay/rust-toolchain@stable + + - name: Rust Cache + uses: swatinem/rust-cache@v2 + with: + workspaces: ./src-tauri + + - name: Run Tests + working-directory: ./src-tauri + run: cargo test --verbose + + - name: Build (Dev) + working-directory: ./src-tauri + run: cargo build --verbose -- cgit v1.2.3-70-g09d2 From 1893aae5ba5c92eee519176b651b1b4247a3ae80 Mon Sep 17 00:00:00 2001 From: HsiangNianian Date: Wed, 14 Jan 2026 19:45:52 +0800 Subject: fix: update webkit2gtk package version in workflows for Arch Linux --- .github/workflows/release.yml | 2 +- .github/workflows/test.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to '.github/workflows/release.yml') diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5bf8caa..07aeec7 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -144,7 +144,7 @@ jobs: - name: Install Dependencies run: | pacman -Syu --noconfirm - pacman -S --noconfirm webkit2gtk base-devel curl wget file openssl appmenu-gtk-module libappindicator-gtk3 librsvg git + pacman -S --noconfirm webkit2gtk-4.1 base-devel curl wget file openssl appmenu-gtk-module libappindicator-gtk3 librsvg git # Fix makepkg running as root sed -i 's/E_ROOT=1/E_ROOT=0/' /usr/bin/makepkg || true diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index e123e95..0c0b0c0 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -57,7 +57,7 @@ jobs: - name: Install Dependencies run: | pacman -Syu --noconfirm - pacman -S --noconfirm webkit2gtk base-devel curl wget file openssl appmenu-gtk-module libappindicator-gtk3 librsvg git + pacman -S --noconfirm webkit2gtk-4.1 base-devel curl wget file openssl appmenu-gtk-module libappindicator-gtk3 librsvg git - uses: actions/checkout@v4 -- cgit v1.2.3-70-g09d2 From a3da667bf3ee467136d7d5f218acabb8e23b390e Mon Sep 17 00:00:00 2001 From: HsiangNianian Date: Wed, 14 Jan 2026 19:53:54 +0800 Subject: fix: add missing dependencies for Arch Linux in workflows --- .github/workflows/release.yml | 2 +- .github/workflows/test.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to '.github/workflows/release.yml') diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 07aeec7..e14de5c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -144,7 +144,7 @@ jobs: - name: Install Dependencies run: | pacman -Syu --noconfirm - pacman -S --noconfirm webkit2gtk-4.1 base-devel curl wget file openssl appmenu-gtk-module libappindicator-gtk3 librsvg git + pacman -S --noconfirm webkit2gtk-4.1 base-devel curl wget file openssl appmenu-gtk-module libappindicator-gtk3 librsvg git fuse2 linuxdeploy # Fix makepkg running as root sed -i 's/E_ROOT=1/E_ROOT=0/' /usr/bin/makepkg || true diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 0c0b0c0..0d50313 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -57,7 +57,7 @@ jobs: - name: Install Dependencies run: | pacman -Syu --noconfirm - pacman -S --noconfirm webkit2gtk-4.1 base-devel curl wget file openssl appmenu-gtk-module libappindicator-gtk3 librsvg git + pacman -S --noconfirm webkit2gtk-4.1 base-devel curl wget file openssl appmenu-gtk-module libappindicator-gtk3 librsvg git fuse2 linuxdeploy - uses: actions/checkout@v4 -- cgit v1.2.3-70-g09d2 From a9f7a45a9537f3bfd0216ee47c9391ec9fd67587 Mon Sep 17 00:00:00 2001 From: HsiangNianian Date: Wed, 14 Jan 2026 19:55:47 +0800 Subject: fix: remove unnecessary 'linuxdeploy' package from Arch Linux dependencies --- .github/workflows/release.yml | 2 +- .github/workflows/test.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to '.github/workflows/release.yml') diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e14de5c..6121efc 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -144,7 +144,7 @@ jobs: - name: Install Dependencies run: | pacman -Syu --noconfirm - pacman -S --noconfirm webkit2gtk-4.1 base-devel curl wget file openssl appmenu-gtk-module libappindicator-gtk3 librsvg git fuse2 linuxdeploy + pacman -S --noconfirm webkit2gtk-4.1 base-devel curl wget file openssl appmenu-gtk-module libappindicator-gtk3 librsvg git fuse2 # Fix makepkg running as root sed -i 's/E_ROOT=1/E_ROOT=0/' /usr/bin/makepkg || true diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 0d50313..6cb5753 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -57,7 +57,7 @@ jobs: - name: Install Dependencies run: | pacman -Syu --noconfirm - pacman -S --noconfirm webkit2gtk-4.1 base-devel curl wget file openssl appmenu-gtk-module libappindicator-gtk3 librsvg git fuse2 linuxdeploy + pacman -S --noconfirm webkit2gtk-4.1 base-devel curl wget file openssl appmenu-gtk-module libappindicator-gtk3 librsvg git fuse2 - uses: actions/checkout@v4 -- cgit v1.2.3-70-g09d2 From cf634adbcb72afc067c09020f097433c9c8109b3 Mon Sep 17 00:00:00 2001 From: HsiangNianian Date: Wed, 14 Jan 2026 20:04:03 +0800 Subject: fix: remove Arch Linux build and test workflows; add libfuse2 dependency for Ubuntu --- .github/workflows/release.yml | 56 ++----------------------------------------- .github/workflows/test.yml | 29 ---------------------- 2 files changed, 2 insertions(+), 83 deletions(-) (limited to '.github/workflows/release.yml') diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6121efc..2c73602 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -89,13 +89,13 @@ jobs: if: matrix.platform == 'ubuntu-22.04' run: | sudo apt-get update - sudo apt-get install -y libwebkit2gtk-4.1-dev build-essential curl wget file libssl-dev libgtk-3-dev libayatana-appindicator3-dev librsvg2-dev + sudo apt-get install -y libwebkit2gtk-4.1-dev build-essential curl wget file libssl-dev libgtk-3-dev libayatana-appindicator3-dev librsvg2-dev libfuse2 - name: Install Dependencies (Linux ARM64) if: matrix.platform == 'ubuntu-24.04-arm' run: | sudo apt-get update - sudo apt-get install -y libwebkit2gtk-4.1-dev build-essential curl wget file libssl-dev libgtk-3-dev libayatana-appindicator3-dev librsvg2-dev + sudo apt-get install -y libwebkit2gtk-4.1-dev build-essential curl wget file libssl-dev libgtk-3-dev libayatana-appindicator3-dev librsvg2-dev libfuse2 - name: Install pnpm uses: pnpm/action-setup@v4 @@ -131,55 +131,3 @@ jobs: with: releaseId: ${{ needs.promote-release.outputs.release_id }} args: ${{ matrix.args }} - - build-tauri-arch: - name: Build & Upload (Arch Linux) - needs: promote-release - permissions: - contents: write - runs-on: ubuntu-latest - container: - image: archlinux:latest - steps: - - name: Install Dependencies - run: | - pacman -Syu --noconfirm - pacman -S --noconfirm webkit2gtk-4.1 base-devel curl wget file openssl appmenu-gtk-module libappindicator-gtk3 librsvg git fuse2 - # Fix makepkg running as root - sed -i 's/E_ROOT=1/E_ROOT=0/' /usr/bin/makepkg || true - - - uses: actions/checkout@v4 - - - name: Install pnpm - uses: pnpm/action-setup@v4 - with: - version: 9 - - - name: Install Node.js - uses: actions/setup-node@v4 - with: - node-version: 22 - cache: "pnpm" - cache-dependency-path: "ui/pnpm-lock.yaml" - - - name: Install Frontend Dependencies - run: pnpm install - working-directory: ui - - - name: Install Rust - uses: dtolnay/rust-toolchain@stable - with: - targets: "x86_64-unknown-linux-gnu" - - - name: Rust Cache - uses: swatinem/rust-cache@v2 - with: - workspaces: "./src-tauri -> target" - - - name: Build Tauri App - uses: tauri-apps/tauri-action@v0 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - with: - releaseId: ${{ needs.promote-release.outputs.release_id }} - args: "--target x86_64-unknown-linux-gnu" \ No newline at end of file diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 6cb5753..b5311c9 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -47,32 +47,3 @@ jobs: - name: Build (Dev) working-directory: ./src-tauri run: cargo build --verbose - - test-arch: - name: Test on Arch Linux - runs-on: ubuntu-latest - container: - image: archlinux:latest - steps: - - name: Install Dependencies - run: | - pacman -Syu --noconfirm - pacman -S --noconfirm webkit2gtk-4.1 base-devel curl wget file openssl appmenu-gtk-module libappindicator-gtk3 librsvg git fuse2 - - - uses: actions/checkout@v4 - - - name: Install Rust - uses: dtolnay/rust-toolchain@stable - - - name: Rust Cache - uses: swatinem/rust-cache@v2 - with: - workspaces: ./src-tauri - - - name: Run Tests - working-directory: ./src-tauri - run: cargo test --verbose - - - name: Build (Dev) - working-directory: ./src-tauri - run: cargo build --verbose -- cgit v1.2.3-70-g09d2 From 44a5f42d901abbb282210419529d0e01302b1bed Mon Sep 17 00:00:00 2001 From: HsiangNianian Date: Wed, 14 Jan 2026 20:40:02 +0800 Subject: feat: add Wayland compatibility fixes for AppImage and setup appimagetool for Ubuntu --- .github/workflows/release.yml | 34 ++++++++++++++++++++++++++++++++++ src-tauri/scripts/fix-appimage.sh | 32 ++++++++++++++++++++++++++++++++ src-tauri/tauri.conf.json | 7 ++++++- 3 files changed, 72 insertions(+), 1 deletion(-) create mode 100755 src-tauri/scripts/fix-appimage.sh (limited to '.github/workflows/release.yml') diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2c73602..f043155 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -124,6 +124,14 @@ jobs: workspaces: "./src-tauri -> target" shared-key: ${{ matrix.target }} + - name: Setup appimagetool (Linux) + if: startsWith(matrix.platform, 'ubuntu') + run: | + ARCH=$(uname -m) + wget -q "https://github.com/AppImage/AppImageKit/releases/download/continuous/appimagetool-${ARCH}.AppImage" + chmod +x "appimagetool-${ARCH}.AppImage" + sudo mv "appimagetool-${ARCH}.AppImage" /usr/local/bin/appimagetool + - name: Build Tauri App uses: tauri-apps/tauri-action@v0 env: @@ -131,3 +139,29 @@ jobs: with: releaseId: ${{ needs.promote-release.outputs.release_id }} args: ${{ matrix.args }} + + - name: Fix AppImage for Wayland (Linux) + if: startsWith(matrix.platform, 'ubuntu') + run: | + # Locate the generated AppImage + APPIMAGE=$(find bundle -name "*.AppImage" -type f | head -1) + echo "Found AppImage: $APPIMAGE" + + if [ -n "$APPIMAGE" ]; then + # backup original AppImage + cp "$APPIMAGE" "${APPIMAGE}.backup" + + # extract AppImage + "$APPIMAGE" --appimage-extract + + # Fix GTK hook, remove forced X11 + if [ -f squashfs-root/apprun-hooks/linuxdeploy-plugin-gtk.sh ]; then + sed -i 's/^export GDK_BACKEND=x11.*$/# export GDK_BACKEND=x11 # Disabled for Wayland compatibility/' squashfs-root/apprun-hooks/linuxdeploy-plugin-gtk.sh + echo "Successfully patched GTK hook for Wayland compatibility" + fi + + # Repack AppImage + appimagetool squashfs-root "$APPIMAGE" + rm -rf squashfs-root + fi + working-directory: src-tauri/target/release diff --git a/src-tauri/scripts/fix-appimage.sh b/src-tauri/scripts/fix-appimage.sh new file mode 100755 index 0000000..6bb375b --- /dev/null +++ b/src-tauri/scripts/fix-appimage.sh @@ -0,0 +1,32 @@ +#!/bin/bash +# fix AppImage for Wayland compatibility +# This script modifies the AppImage bundle created by Tauri to ensure compatibility with Wayland +# It specifically targets the GTK backend settings to avoid forcing X11 + +set -e + +echo "Fixing AppImage for Wayland compatibility..." + +# Tauri sets the APPIMAGE_BUNDLE_PATH environment variable during the build process +APPDIR_PATH="${APPIMAGE_BUNDLE_PATH:-}" + +if [ -z "$APPDIR_PATH" ]; then + echo "No AppImage bundle path found, skipping fix" + exit 0 +fi + +# Check for the presence of the GTK hook file +if [ -d "$APPDIR_PATH/apprun-hooks" ]; then + HOOK_FILE="$APPDIR_PATH/apprun-hooks/linuxdeploy-plugin-gtk.sh" + + if [ -f "$HOOK_FILE" ]; then + echo "Found GTK hook file, patching..." + + # Comment out the line that forces GDK_BACKEND to x11 + sed -i 's/^export GDK_BACKEND=x11.*$/# export GDK_BACKEND=x11 # Disabled for Wayland compatibility/' "$HOOK_FILE" + + echo "Successfully patched $HOOK_FILE" + fi +fi + +echo "AppImage Wayland fix completed!" diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json index 8706614..beba8d3 100644 --- a/src-tauri/tauri.conf.json +++ b/src-tauri/tauri.conf.json @@ -33,6 +33,11 @@ "icons/128x128@2x.png", "icons/icon.icns", "icons/icon.ico" - ] + ], + "linux": { + "appimage": { + "bundleMediaFramework": false + } + } } } \ No newline at end of file -- cgit v1.2.3-70-g09d2 From dba27a4bf32d5de7ef42c2e65c5b407b7e12c39d Mon Sep 17 00:00:00 2001 From: HsiangNianian Date: Wed, 14 Jan 2026 20:55:20 +0800 Subject: feat: add Wayland support for Arch Linux in release workflow --- .github/workflows/release.yml | 60 ++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 56 insertions(+), 4 deletions(-) (limited to '.github/workflows/release.yml') diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f043155..24a8e46 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -68,6 +68,12 @@ jobs: name: "Linux ARM64" target: "aarch64-unknown-linux-gnu" args: "--target aarch64-unknown-linux-gnu" + - platform: "ubuntu-22.04" + name: "Linux x86_64 (Arch/Wayland)" + target: "x86_64-unknown-linux-gnu" + args: "--target x86_64-unknown-linux-gnu" + container: "archlinux:latest" + wayland: true - platform: "macos-latest" name: "macOS ARM64" target: "aarch64-apple-darwin" @@ -82,11 +88,14 @@ jobs: args: "--target aarch64-pc-windows-msvc" runs-on: ${{ matrix.platform }} + container: + image: ${{ matrix.container }} + options: --user root steps: - uses: actions/checkout@v4 - name: Install Dependencies (Linux x86_64) - if: matrix.platform == 'ubuntu-22.04' + if: matrix.platform == 'ubuntu-22.04' && !matrix.wayland run: | sudo apt-get update sudo apt-get install -y libwebkit2gtk-4.1-dev build-essential curl wget file libssl-dev libgtk-3-dev libayatana-appindicator3-dev librsvg2-dev libfuse2 @@ -97,6 +106,27 @@ jobs: sudo apt-get update sudo apt-get install -y libwebkit2gtk-4.1-dev build-essential curl wget file libssl-dev libgtk-3-dev libayatana-appindicator3-dev librsvg2-dev libfuse2 + - name: Install Dependencies (Arch Linux) + if: matrix.wayland + run: | + pacman -Syu --noconfirm + pacman -S --noconfirm webkit2gtk-4.1 base-devel curl wget file openssl gtk3 appindicator-gtk3 librsvg fuse2 + + - name: Setup Wayland Environment (Arch) + if: matrix.wayland + run: | + pacman -S --noconfirm cage wayland protocols weston + + echo "WAYLAND_DISPLAY=wayland-1" >> $GITHUB_ENV + echo "GDK_BACKEND=wayland" >> $GITHUB_ENV + echo "XDG_SESSION_TYPE=wayland" >> $GITHUB_ENV + echo "XDG_RUNTIME_DIR=/tmp/runtime-wayland" >> $GITHUB_ENV + + mkdir -p /tmp/runtime-wayland + chmod 0700 /tmp/runtime-wayland + + echo "Wayland environment configured for testing" + - name: Install pnpm uses: pnpm/action-setup@v4 with: @@ -125,12 +155,16 @@ jobs: shared-key: ${{ matrix.target }} - name: Setup appimagetool (Linux) - if: startsWith(matrix.platform, 'ubuntu') + if: (startsWith(matrix.platform, 'ubuntu') || matrix.wayland) && !startsWith(matrix.platform, 'macos') && !startsWith(matrix.platform, 'windows') run: | ARCH=$(uname -m) wget -q "https://github.com/AppImage/AppImageKit/releases/download/continuous/appimagetool-${ARCH}.AppImage" chmod +x "appimagetool-${ARCH}.AppImage" - sudo mv "appimagetool-${ARCH}.AppImage" /usr/local/bin/appimagetool + if command -v sudo >/dev/null 2>&1; then + sudo mv "appimagetool-${ARCH}.AppImage" /usr/local/bin/appimagetool + else + mv "appimagetool-${ARCH}.AppImage" /usr/local/bin/appimagetool + fi - name: Build Tauri App uses: tauri-apps/tauri-action@v0 @@ -141,7 +175,7 @@ jobs: args: ${{ matrix.args }} - name: Fix AppImage for Wayland (Linux) - if: startsWith(matrix.platform, 'ubuntu') + if: startsWith(matrix.platform, 'ubuntu') || matrix.platform == 'archlinux-latest' run: | # Locate the generated AppImage APPIMAGE=$(find bundle -name "*.AppImage" -type f | head -1) @@ -165,3 +199,21 @@ jobs: rm -rf squashfs-root fi working-directory: src-tauri/target/release + + - name: Test AppImage on Wayland (Arch) + if: matrix.platform == 'archlinux-latest' && matrix.wayland + run: | + # Test that the AppImage can run in Wayland environment + APPIMAGE=$(find bundle -name "*.AppImage" -type f | head -1) + echo "Testing AppImage: $APPIMAGE" + echo "Wayland display: $WAYLAND_DISPLAY" + echo "GDK backend: $GDK_BACKEND" + + # Quick startup test (timeout after 5 seconds) + timeout 5 "$APPIMAGE" --version 2>&1 || { + echo "AppImage test failed with exit code: $?" + exit 1 + } + + echo "AppImage Wayland compatibility test passed!" + working-directory: src-tauri/target/release -- cgit v1.2.3-70-g09d2 From ec09a0bc05ebc2bf23155a79690e51ef977db9dc Mon Sep 17 00:00:00 2001 From: HsiangNianian Date: Wed, 14 Jan 2026 20:55:36 +0800 Subject: fix: refine AppImage handling for Wayland on Linux platforms --- .github/workflows/release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to '.github/workflows/release.yml') diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 24a8e46..487ddee 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -175,7 +175,7 @@ jobs: args: ${{ matrix.args }} - name: Fix AppImage for Wayland (Linux) - if: startsWith(matrix.platform, 'ubuntu') || matrix.platform == 'archlinux-latest' + if: (startsWith(matrix.platform, 'ubuntu') || matrix.wayland) && !startsWith(matrix.platform, 'macos') && !startsWith(matrix.platform, 'windows') run: | # Locate the generated AppImage APPIMAGE=$(find bundle -name "*.AppImage" -type f | head -1) @@ -201,7 +201,7 @@ jobs: working-directory: src-tauri/target/release - name: Test AppImage on Wayland (Arch) - if: matrix.platform == 'archlinux-latest' && matrix.wayland + if: matrix.wayland run: | # Test that the AppImage can run in Wayland environment APPIMAGE=$(find bundle -name "*.AppImage" -type f | head -1) -- cgit v1.2.3-70-g09d2