From 268e61ec5a80c7669ef446d11c29aefe286b7eee Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Thu, 23 Nov 2023 08:21:09 +0000 Subject: [PATCH] Update build_and_deploy.yaml --- .github/workflows/build_and_deploy.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build_and_deploy.yaml b/.github/workflows/build_and_deploy.yaml index ff19da9..ae9e34e 100644 --- a/.github/workflows/build_and_deploy.yaml +++ b/.github/workflows/build_and_deploy.yaml @@ -147,7 +147,7 @@ jobs: - name: Find debs id: deb - if: inputs.linux + if: needs.linux.result == 'success' run: | for arch in amd64 arm64 do @@ -156,7 +156,7 @@ jobs: - name: Publish amd64 deb to packages.element.io uses: vector-im/packages.element.io@master - if: inputs.linux + if: needs.linux.result == 'success' with: file: ${{ steps.deb.outputs.amd64 }} github-token: ${{ secrets.ELEMENT_BOT_TOKEN }} @@ -166,7 +166,7 @@ jobs: - name: Publish arm64 deb to packages.element.io uses: vector-im/packages.element.io@master - if: inputs.linux + if: needs.linux.result == 'success' with: file: ${{ steps.deb.outputs.arm64 }} github-token: ${{ secrets.ELEMENT_BOT_TOKEN }}