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:
|
||||
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: |
|
||||
|
||||
@@ -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: |
|
||||
|
||||
Reference in new issue
Block a user