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:
@@ -437,7 +437,7 @@ jobs:
|
|||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
set -euo pipefail
|
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)"
|
appimage="$(find "$appimage_dir" -maxdepth 1 -type f -name '*.AppImage' | head -n 1)"
|
||||||
if [ -z "$appimage" ]; then
|
if [ -z "$appimage" ]; then
|
||||||
echo "::error::No AppImage found to patch"
|
echo "::error::No AppImage found to patch"
|
||||||
|
|||||||
Reference in New Issue
Block a user