Skip to content

Commit f352eea

Browse files
committed
WIP: github: Only run the test-toolchain job, with the latest build from a push
1 parent 19b4d2a commit f352eea

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

.github/workflows/build.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
# slightly more, when we know a separate build of the same version but with
2020
# assertions enabled, has passed some amount of tests.
2121
prepare:
22-
if: (github.event_name != 'schedule') || (github.repository == 'mstorsjo/llvm-mingw')
22+
if: false
2323
runs-on: ubuntu-latest
2424
outputs:
2525
LLVM_VERSION: ${{steps.get-versions.outputs.LLVM_VERSION}}
@@ -331,7 +331,6 @@ jobs:
331331
# toolchains from above.
332332
test-toolchain:
333333
if: (github.event_name != 'schedule') || (github.repository == 'mstorsjo/llvm-mingw')
334-
needs: [linux-cross-windows]
335334
runs-on: windows-latest
336335
defaults:
337336
run:
@@ -349,8 +348,13 @@ jobs:
349348
install: >-
350349
unzip
351350
make
352-
- uses: actions/download-artifact@v4
351+
- name: Download toolchain
352+
uses: dawidd6/action-download-artifact@v6
353353
with:
354+
workflow: build.yml
355+
workflow_conclusion: success
356+
branch: master
357+
event: push
354358
name: windows-ucrt-${{matrix.arch}}-toolchain
355359
- name: Unpack toolchain
356360
run: |

0 commit comments

Comments
 (0)