diff --git a/.github/workflows/deb-packaging.yml b/.github/workflows/deb-packaging.yml index 2367bfb2d14..27c3f11c8d8 100644 --- a/.github/workflows/deb-packaging.yml +++ b/.github/workflows/deb-packaging.yml @@ -151,7 +151,6 @@ jobs: sparse-checkout: '.github/actions/' - name: Build - continue-on-error: true uses: ./.github/actions/build-binary-packages with: dist: ${{ matrix.dist }} @@ -194,7 +193,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: ${{ github.event.client_payload.isTestBuild == 'false' && needs.sourcepackage.result == 'success' && needs.binary_packages_released.result == 'success' }} steps: - name: Sign packages @@ -212,7 +211,7 @@ jobs: needs: [sourcepackage, deb_signing] runs-on: self-hosted environment: "deploy (linux)" - if: github.event.client_payload.isTestBuild == 'false' + if: ${{ github.event.client_payload.isTestBuild == 'false' && needs.sourcepackage.result == 'success' && needs.deb_signing.result == 'success' }} steps: - name: Install dput @@ -295,6 +294,7 @@ jobs: name: Verify API for libkeymancore.so needs: [sourcepackage, binary_packages_released] runs-on: ubuntu-latest + if: ${{ needs.sourcepackage.result == 'success' && needs.binary_packages_released.result == 'success' }} steps: - name: Checkout