github: Switch the condition for inputs vs defaults for test-llvm and test-libcxx
This makes it easier to run these workflows through a push (by adding an "on:push:" at the start of the files.
This commit is contained in:
1 parent
848bf53fe0
commit
67827c9569
2 files changed
+8
-8
No files matched your search
@@ -29,8 +29,8 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
workflow: build.yml
|
workflow: build.yml
|
||||||
workflow_conclusion: success
|
workflow_conclusion: success
|
||||||
ref: ${{github.event_name == 'schedule' && 'master' || inputs.ref}}
|
ref: ${{github.event_name == 'workflow_dispatch' && inputs.ref || 'master'}}
|
||||||
event: ${{github.event_name == 'schedule' && 'schedule' || inputs.pipeline_type}}
|
event: ${{github.event_name == 'workflow_dispatch' && inputs.pipeline_type || 'schedule'}}
|
||||||
name: parameters
|
name: parameters
|
||||||
- name: Get build parameters
|
- name: Get build parameters
|
||||||
id: get-parameters
|
id: get-parameters
|
||||||
@@ -57,8 +57,8 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
workflow: build.yml
|
workflow: build.yml
|
||||||
workflow_conclusion: success
|
workflow_conclusion: success
|
||||||
ref: ${{github.event_name == 'schedule' && 'master' || inputs.ref}}
|
ref: ${{github.event_name == 'workflow_dispatch' && inputs.ref || 'master'}}
|
||||||
event: ${{github.event_name == 'schedule' && 'schedule' || inputs.pipeline_type}}
|
event: ${{github.event_name == 'workflow_dispatch' && inputs.pipeline_type || 'schedule'}}
|
||||||
name: windows-ucrt-${{matrix.arch}}-toolchain
|
name: windows-ucrt-${{matrix.arch}}-toolchain
|
||||||
- name: Unpack toolchain
|
- name: Unpack toolchain
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
@@ -29,8 +29,8 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
workflow: build.yml
|
workflow: build.yml
|
||||||
workflow_conclusion: success
|
workflow_conclusion: success
|
||||||
ref: ${{github.event_name == 'schedule' && 'master' || inputs.ref}}
|
ref: ${{github.event_name == 'workflow_dispatch' && inputs.ref || 'master'}}
|
||||||
event: ${{github.event_name == 'schedule' && 'schedule' || inputs.pipeline_type}}
|
event: ${{github.event_name == 'workflow_dispatch' && inputs.pipeline_type || 'schedule'}}
|
||||||
name: parameters
|
name: parameters
|
||||||
- name: Get build parameters
|
- name: Get build parameters
|
||||||
id: get-parameters
|
id: get-parameters
|
||||||
@@ -56,8 +56,8 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
workflow: build.yml
|
workflow: build.yml
|
||||||
workflow_conclusion: success
|
workflow_conclusion: success
|
||||||
ref: ${{github.event_name == 'schedule' && 'master' || inputs.ref}}
|
ref: ${{github.event_name == 'workflow_dispatch' && inputs.ref || 'master'}}
|
||||||
event: ${{github.event_name == 'schedule' && 'schedule' || inputs.pipeline_type}}
|
event: ${{github.event_name == 'workflow_dispatch' && inputs.pipeline_type || 'schedule'}}
|
||||||
name: windows-ucrt-${{matrix.arch}}-toolchain
|
name: windows-ucrt-${{matrix.arch}}-toolchain
|
||||||
- name: Unpack toolchain
|
- name: Unpack toolchain
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Reference in new issue
Block a user