From 0d7d240584f53a9e9ea458b2f804265b3a522f5a Mon Sep 17 00:00:00 2001 From: Eberhard Beilharz Date: Thu, 4 Apr 2024 09:56:47 +0200 Subject: [PATCH] chore(linux): Sign packages even if build for next Ubuntu fails We want to run the `deb_signing` job after building binary packages for both released and unreleased Ubuntu versions finished, so we have to specify those in the `needs` field. But that on its own causes the signing job to be skipped if the binary package build for the next Ubuntu version fails. This change adds conditions so that the `deb_signing` job always runs if source package build and the binary package build for the released Ubuntu versions succeeds. --- .github/workflows/deb-packaging.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/deb-packaging.yml b/.github/workflows/deb-packaging.yml index 2367bfb2d1..48a251775e 100644 --- a/.github/workflows/deb-packaging.yml +++ b/.github/workflows/deb-packaging.yml @@ -194,7 +194,7 @@ jobs: needs: [sourcepackage, binary_packages_released, binary_packages_unreleased] runs-on: ubuntu-latest environment: "deploy (linux)" - if: github.event.client_payload.isTestBuild == 'false' + if: ${{always() && needs.sourcepackage.result == 'success' && needs.binary_packages_released.result == 'success' && github.event.client_payload.isTestBuild == 'false'}} steps: - name: Sign packages