mirror of
https://github.com/CringeStudios/element-desktop.git
synced 2025-01-18 23:44:59 +01:00
Fix deploy not working if you skip any OSes
https://github.com/actions/runner/issues/491 for context
This commit is contained in:
parent
07523ecfdd
commit
fd66c14544
11
.github/workflows/build_and_deploy.yaml
vendored
11
.github/workflows/build_and_deploy.yaml
vendored
@ -130,7 +130,11 @@ jobs:
|
||||
- windows_64bit
|
||||
runs-on: ubuntu-latest
|
||||
name: Deploy
|
||||
if: github.event_name != 'workflow_dispatch' || (inputs.deploy && (inputs.macos || inputs.windows_32bit || inputs.windows_64bit))
|
||||
if: |
|
||||
github.event_name != 'workflow_dispatch' || (
|
||||
always() && !failure() !cancelled() && inputs.deploy &&
|
||||
(inputs.macos || inputs.windows_32bit || inputs.windows_64bit)
|
||||
)
|
||||
environment: packages.element.io
|
||||
steps:
|
||||
- name: Download artifacts
|
||||
@ -164,7 +168,10 @@ jobs:
|
||||
strategy:
|
||||
matrix:
|
||||
arch: [amd64, arm64]
|
||||
if: github.event_name != 'workflow_dispatch' || (inputs.deploy && inputs.linux)
|
||||
if: |
|
||||
github.event_name != 'workflow_dispatch' || (
|
||||
always() && !failure() !cancelled() && inputs.deploy && inputs.linux
|
||||
)
|
||||
uses: ./.github/workflows/reprepro.yaml
|
||||
secrets: inherit
|
||||
with:
|
||||
|
Loading…
Reference in New Issue
Block a user