Skip to content

Commit a333ebd

Browse files
committed
github: Switch the condition for inputs vs defaults for test-llvm and test-libcxx
This makes it easier to run through a push.
1 parent dea2fc9 commit a333ebd

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

.github/workflows/test-libcxx.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ jobs:
2929
with:
3030
workflow: build.yml
3131
workflow_conclusion: success
32-
ref: ${{github.event_name == 'schedule' && 'master' || inputs.ref}}
33-
event: ${{github.event_name == 'schedule' && 'schedule' || inputs.pipeline_type}}
32+
ref: ${{github.event_name == 'workflow_dispatch' && inputs.ref || 'master'}}
33+
event: ${{github.event_name == 'workflow_dispatch' && inputs.pipeline_type || 'schedule'}}
3434
name: parameters
3535
- name: Get build parameters
3636
id: get-parameters
@@ -57,8 +57,8 @@ jobs:
5757
with:
5858
workflow: build.yml
5959
workflow_conclusion: success
60-
ref: ${{github.event_name == 'schedule' && 'master' || inputs.ref}}
61-
event: ${{github.event_name == 'schedule' && 'schedule' || inputs.pipeline_type}}
60+
ref: ${{github.event_name == 'workflow_dispatch' && inputs.ref || 'master'}}
61+
event: ${{github.event_name == 'workflow_dispatch' && inputs.pipeline_type || 'schedule'}}
6262
name: windows-ucrt-${{matrix.arch}}-toolchain
6363
- name: Unpack toolchain
6464
run: |

.github/workflows/test-llvm.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ jobs:
2929
with:
3030
workflow: build.yml
3131
workflow_conclusion: success
32-
ref: ${{github.event_name == 'schedule' && 'master' || inputs.ref}}
33-
event: ${{github.event_name == 'schedule' && 'schedule' || inputs.pipeline_type}}
32+
ref: ${{github.event_name == 'workflow_dispatch' && inputs.ref || 'master'}}
33+
event: ${{github.event_name == 'workflow_dispatch' && inputs.pipeline_type || 'schedule'}}
3434
name: parameters
3535
- name: Get build parameters
3636
id: get-parameters
@@ -56,8 +56,8 @@ jobs:
5656
with:
5757
workflow: build.yml
5858
workflow_conclusion: success
59-
ref: ${{github.event_name == 'schedule' && 'master' || inputs.ref}}
60-
event: ${{github.event_name == 'schedule' && 'schedule' || inputs.pipeline_type}}
59+
ref: ${{github.event_name == 'workflow_dispatch' && inputs.ref || 'master'}}
60+
event: ${{github.event_name == 'workflow_dispatch' && inputs.pipeline_type || 'schedule'}}
6161
name: windows-ucrt-${{matrix.arch}}-toolchain
6262
- name: Unpack toolchain
6363
run: |

0 commit comments

Comments
 (0)