diff --git a/.github/workflows/test-libcxx.yml b/.github/workflows/test-libcxx.yml index d35e0c5..0866444 100644 --- a/.github/workflows/test-libcxx.yml +++ b/.github/workflows/test-libcxx.yml @@ -29,8 +29,8 @@ jobs: with: workflow: build.yml workflow_conclusion: success - ref: ${{github.event_name == 'schedule' && 'master' || inputs.ref}} - event: ${{github.event_name == 'schedule' && 'schedule' || inputs.pipeline_type}} + ref: ${{github.event_name == 'workflow_dispatch' && inputs.ref || 'master'}} + event: ${{github.event_name == 'workflow_dispatch' && inputs.pipeline_type || 'schedule'}} name: parameters - name: Get build parameters id: get-parameters @@ -57,8 +57,8 @@ jobs: with: workflow: build.yml workflow_conclusion: success - ref: ${{github.event_name == 'schedule' && 'master' || inputs.ref}} - event: ${{github.event_name == 'schedule' && 'schedule' || inputs.pipeline_type}} + ref: ${{github.event_name == 'workflow_dispatch' && inputs.ref || 'master'}} + event: ${{github.event_name == 'workflow_dispatch' && inputs.pipeline_type || 'schedule'}} name: windows-ucrt-${{matrix.arch}}-toolchain - name: Unpack toolchain run: | diff --git a/.github/workflows/test-llvm.yml b/.github/workflows/test-llvm.yml index 8fcad6f..1ca090c 100644 --- a/.github/workflows/test-llvm.yml +++ b/.github/workflows/test-llvm.yml @@ -29,8 +29,8 @@ jobs: with: workflow: build.yml workflow_conclusion: success - ref: ${{github.event_name == 'schedule' && 'master' || inputs.ref}} - event: ${{github.event_name == 'schedule' && 'schedule' || inputs.pipeline_type}} + ref: ${{github.event_name == 'workflow_dispatch' && inputs.ref || 'master'}} + event: ${{github.event_name == 'workflow_dispatch' && inputs.pipeline_type || 'schedule'}} name: parameters - name: Get build parameters id: get-parameters @@ -56,8 +56,8 @@ jobs: with: workflow: build.yml workflow_conclusion: success - ref: ${{github.event_name == 'schedule' && 'master' || inputs.ref}} - event: ${{github.event_name == 'schedule' && 'schedule' || inputs.pipeline_type}} + ref: ${{github.event_name == 'workflow_dispatch' && inputs.ref || 'master'}} + event: ${{github.event_name == 'workflow_dispatch' && inputs.pipeline_type || 'schedule'}} name: windows-ucrt-${{matrix.arch}}-toolchain - name: Unpack toolchain run: |