fixaction): appimage run needs an env var
All checks were successful
/ Move action v0 tag (push) Successful in 21s

This commit is contained in:
Bruno Carlin 2024-12-27 01:43:34 +01:00
parent 15a3493a4e
commit 737fe3aa7a
Signed by: bcarlin
GPG key ID: 8E254EA0FFEB9B6D

View file

@ -29,15 +29,13 @@ runs:
working-directory: ${{ github.action_path }} working-directory: ${{ github.action_path }}
run: | run: |
set -x set -x
apt-get update && apt-get install libfuse2
modprobe fuse
INSTALL_PATH=${INSTALL_PATH:-/opt/${TARGET%%:*}} INSTALL_PATH=${INSTALL_PATH:-/opt/${TARGET%%:*}}
./setup-browser install \ ./setup-browser install \
-cache-path cache \ -cache-path cache \
-install-to "$INSTALL_PATH" \ -install-to "$INSTALL_PATH" \
"${TARGET}" "${TARGET}"
echo "$(dirname "$INSTALL_PATH")" >> "$GITHUB_PATH" echo "$(dirname "$INSTALL_PATH")" >> "$GITHUB_PATH"
echo "APPIMAGE_EXTRACT_AND_RUN=true" >> "$GITHUB_ENV"
shell: bash shell: bash
env: env:
TARGET: ${{ inputs.target }} TARGET: ${{ inputs.target }}