Merge pull request #178 from svc-design/codex/fix-yaml-parsing-issue-in-workflow
Fix workflow if expression formatting
This commit is contained in:
commit
1655304e70
10
.github/workflows/cloud-neutra-golden-image.yaml
vendored
10
.github/workflows/cloud-neutra-golden-image.yaml
vendored
@ -79,15 +79,7 @@ jobs:
|
|||||||
ubuntu_version: "2204"
|
ubuntu_version: "2204"
|
||||||
cpu_arch: arm64
|
cpu_arch: arm64
|
||||||
|
|
||||||
if: ${{
|
if: ${{ github.event_name == 'schedule' || (github.event_name == 'workflow_dispatch' && github.event.inputs.edition == matrix.edition && github.event.inputs.ubuntu_version == matrix.ubuntu_version && github.event.inputs.cpu_arch == matrix.cpu_arch) }}
|
||||||
github.event_name == 'schedule' ||
|
|
||||||
(
|
|
||||||
github.event_name == 'workflow_dispatch' &&
|
|
||||||
github.event.inputs.edition == matrix.edition &&
|
|
||||||
github.event.inputs.ubuntu_version == matrix.ubuntu_version &&
|
|
||||||
github.event.inputs.cpu_arch == matrix.cpu_arch
|
|
||||||
)
|
|
||||||
}}
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user