From c41e68992e9635e41f1b5e4fe8ed1d1f3eaf5140 Mon Sep 17 00:00:00 2001 From: Russell Martin Date: Tue, 24 Oct 2023 11:47:42 -0400 Subject: [PATCH] Allow AppImage verification when explicitly requested --- .github/workflows/app-build-verify.yml | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/.github/workflows/app-build-verify.yml b/.github/workflows/app-build-verify.yml index 7e961a01..3c023904 100644 --- a/.github/workflows/app-build-verify.yml +++ b/.github/workflows/app-build-verify.yml @@ -257,16 +257,17 @@ jobs: # binary dependency issues that it's just not worth the oxygen to keep this thing # alive. # - # - name: Build AppImage project - # if: > - # startsWith(inputs.runner-os, 'ubuntu') - # && contains(fromJSON('["", "Linux"]'), inputs.target-platform) - # && contains(fromJSON('["", "AppImage"]'), inputs.target-format) - # run: | - # cd tests/apps/verify-${{ inputs.framework }} - # briefcase create linux AppImage - # briefcase build linux AppImage - # briefcase package linux AppImage --adhoc-sign + # Only runs when target platform and format are explicitly Linux and AppImage. + - name: Build AppImage project + if: > + startsWith(inputs.runner-os, 'ubuntu') + && contains(fromJSON('["Linux"]'), inputs.target-platform) + && contains(fromJSON('["AppImage"]'), inputs.target-format) + run: | + cd tests/apps/verify-${{ inputs.framework }} + briefcase create linux AppImage + briefcase build linux AppImage + briefcase package linux AppImage --adhoc-sign - name: Build Flatpak project if: >