Fix matrix condition expression in workflow

This commit is contained in:
shenlan 2025-11-21 15:50:50 +08:00
parent 4c44439825
commit a151cb8496

View File

@ -76,7 +76,7 @@ jobs:
ubuntu_version: "2204" ubuntu_version: "2204"
cpu_arch: arm64 cpu_arch: arm64
if: > if: ${{
github.event_name == 'schedule' || github.event_name == 'schedule' ||
( (
github.event_name == 'workflow_dispatch' && github.event_name == 'workflow_dispatch' &&
@ -84,6 +84,7 @@ jobs:
github.event.inputs.ubuntu_version == matrix.ubuntu_version && github.event.inputs.ubuntu_version == matrix.ubuntu_version &&
github.event.inputs.cpu_arch == matrix.cpu_arch github.event.inputs.cpu_arch == matrix.cpu_arch
) )
}}
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4