mirror of
https://github.com/CringeStudios/element-desktop.git
synced 2025-01-19 07:54: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
|
- windows_64bit
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
name: Deploy
|
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
|
environment: packages.element.io
|
||||||
steps:
|
steps:
|
||||||
- name: Download artifacts
|
- name: Download artifacts
|
||||||
@ -164,7 +168,10 @@ jobs:
|
|||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
arch: [amd64, arm64]
|
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
|
uses: ./.github/workflows/reprepro.yaml
|
||||||
secrets: inherit
|
secrets: inherit
|
||||||
with:
|
with:
|
||||||
|
Loading…
Reference in New Issue
Block a user