Fix Nightly builds not bailing on failure (#1289)

This commit is contained in:
Michael Telatynski 2023-10-23 12:04:58 +01:00 committed by GitHub
parent 203ce96d0b
commit ca0a48196c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -120,13 +120,12 @@ jobs:
runs-on: ubuntu-latest
name: Deploy
if: |
(
always() && !failure() && !cancelled() && ((
github.event_name != 'workflow_dispatch' &&
github.event.release.prerelease != true
) || (
always() && !failure() && !cancelled() && inputs.deploy &&
(inputs.macos || inputs.windows || inputs.linux)
)
inputs.deploy && (inputs.macos || inputs.windows || inputs.linux)
))
environment: packages.element.io
steps:
- name: Download artifacts
@ -161,12 +160,12 @@ jobs:
matrix:
arch: [amd64, arm64]
if: |
(
always() && !failure() && !cancelled() && ((
github.event_name != 'workflow_dispatch' &&
github.event.release.prerelease != true
) || (
always() && !failure() && !cancelled() && inputs.deploy && inputs.linux
)
inputs.deploy && inputs.linux
))
uses: ./.github/workflows/reprepro.yaml
secrets: inherit
with: