From 949fd516fa8db727ed494e1efc08f7b7b5e476f5 Mon Sep 17 00:00:00 2001 From: ann0see <20726856+ann0see@users.noreply.github.com> Date: Mon, 21 Mar 2022 21:32:24 +0100 Subject: [PATCH 1/2] Autobuild: Don't run building ARM on non-releases This prevents unneeded builds on ARM since the intel builds already check the same code. --- .github/workflows/autobuild.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/autobuild.yml b/.github/workflows/autobuild.yml index e8569b95e1..b46e1a6489 100644 --- a/.github/workflows/autobuild.yml +++ b/.github/workflows/autobuild.yml @@ -102,7 +102,8 @@ jobs: cmd3_postbuild: ./.github/autobuild/linux_deb.sh get-artifacts run_codeql: true - - config_name: Linux .deb armhf (artifacts) + - config_name: Linux .deb armhf (artifacts, release only) + if: contains(needs.create_release.outputs.publish_to_release, 'true') target_os: linux building_on_os: ubuntu-18.04 cmd1_prebuild: TARGET_ARCH=armhf ./.github/autobuild/linux_deb.sh setup From ad7ed103ddf9728b5e1c1808131d46b0165f7182 Mon Sep 17 00:00:00 2001 From: ann0see <20726856+ann0see@users.noreply.github.com> Date: Wed, 30 Mar 2022 16:51:41 +0200 Subject: [PATCH 2/2] Replace contains with equality check Co-authored-by: Christian Hoffmann --- .github/workflows/autobuild.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/autobuild.yml b/.github/workflows/autobuild.yml index b46e1a6489..3a0ec1c00a 100644 --- a/.github/workflows/autobuild.yml +++ b/.github/workflows/autobuild.yml @@ -103,7 +103,7 @@ jobs: run_codeql: true - config_name: Linux .deb armhf (artifacts, release only) - if: contains(needs.create_release.outputs.publish_to_release, 'true') + if: needs.create_release.outputs.publish_to_release == 'true' target_os: linux building_on_os: ubuntu-18.04 cmd1_prebuild: TARGET_ARCH=armhf ./.github/autobuild/linux_deb.sh setup