From 59c5efc50c364567c70d78e83a6825e0dc179b69 Mon Sep 17 00:00:00 2001 From: Nick2bad4u <20943337+Nick2bad4u@users.noreply.github.com> Date: Thu, 8 Oct 2026 00:34:45 -0400 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20[fix]=20Forward=20Flatpak=20smok?= =?UTF-8?q?e=20arguments=20and=20share=20diagnostics?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/flatpak-build.yml | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/.github/workflows/flatpak-build.yml b/.github/workflows/flatpak-build.yml index 3ef39f30a..a77a3453d 100644 --- a/.github/workflows/flatpak-build.yml +++ b/.github/workflows/flatpak-build.yml @@ -74,17 +74,28 @@ jobs: DEBUG: "@malept/flatpak-bundler" - name: Smoke test Flatpak bundle + env: + FFV_SMOKE_DIAGNOSTICS_DIRECTORY: ${{ runner.temp }}/flatpak-smoke run: | flatpak install --user --noninteractive --or-update ./FitFileViewer.flatpak smoke_launcher="${RUNNER_TEMP}/run-fitfileviewer-flatpak" printf '%s\n' '#!/usr/bin/env bash' \ - 'exec xvfb-run -a flatpak run --user com.nick2bad4u.fitfileviewer' \ + 'exec xvfb-run -a flatpak run --user com.nick2bad4u.fitfileviewer "$@"' \ > "${smoke_launcher}" chmod +x "${smoke_launcher}" node scripts/run-packaged-smoke.mjs \ --executable "${smoke_launcher}" \ --startup-timeout-ms 15000 + - name: Upload Flatpak smoke diagnostics + if: always() + uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 + with: + name: flatpak-smoke-diagnostics + path: ${{ runner.temp }}/flatpak-smoke/** + if-no-files-found: ignore + retention-days: 14 + # Optionally, upload the FlatPak bundle as an artifact - name: Upload FlatPak bundle uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1