desktop: fix AppImage patch step using absolute paths

The patch step cd's to a temp directory for extraction, so the
AppImage path must be absolute (via $GITHUB_WORKSPACE).
This commit is contained in:
Mohamed Boudra
2026-03-20 00:41:41 +07:00
parent f4f3e4204d
commit c9f2e01131

View File

@@ -437,7 +437,7 @@ jobs:
shell: bash
run: |
set -euo pipefail
appimage_dir="packages/desktop/src-tauri/target/release/bundle/appimage"
appimage_dir="$GITHUB_WORKSPACE/packages/desktop/src-tauri/target/release/bundle/appimage"
appimage="$(find "$appimage_dir" -maxdepth 1 -type f -name '*.AppImage' | head -n 1)"
if [ -z "$appimage" ]; then
echo "::error::No AppImage found to patch"