Fix workflow if expression formatting

This commit is contained in:
shenlan 2025-11-21 16:05:49 +08:00
parent 9178f9a2c8
commit 19bbff1052

View File

@ -76,15 +76,7 @@ jobs:
ubuntu_version: "2204"
cpu_arch: arm64
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
)
}}
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) }}
steps:
- uses: actions/checkout@v4