Merge pull request #178 from svc-design/codex/fix-yaml-parsing-issue-in-workflow

Fix workflow if expression formatting
This commit is contained in:
shenlan 2025-11-21 16:06:02 +08:00 committed by GitHub
commit 1655304e70
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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