Skip to content

Commit 5ed9093

Browse files
Copilottido64
andcommitted
Make Windows build jobs non-blocking with warning aggregator
Co-authored-by: tido64 <4123478+tido64@users.noreply.github.com>
1 parent df14011 commit 5ed9093

1 file changed

Lines changed: 18 additions & 2 deletions

File tree

.github/workflows/build.yml

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -543,6 +543,7 @@ jobs:
543543
name: "Windows"
544544
permissions: {}
545545
runs-on: windows-2025
546+
continue-on-error: true
546547
if: ${{ github.event_name != 'schedule' }}
547548
strategy:
548549
matrix:
@@ -627,6 +628,7 @@ jobs:
627628
name: "Windows [template]"
628629
permissions: {}
629630
runs-on: windows-2025
631+
continue-on-error: true
630632
if: ${{ github.event_name != 'schedule' }}
631633
strategy:
632634
matrix:
@@ -684,6 +686,21 @@ jobs:
684686
if-no-files-found: error
685687
retention-days: 14
686688
timeout-minutes: 60
689+
windows-result:
690+
name: "Windows [result]"
691+
permissions: {}
692+
runs-on: ubuntu-24.04
693+
if: ${{ github.event_name != 'schedule' }}
694+
needs:
695+
- windows
696+
- windows-template
697+
steps:
698+
- name: Warn if Windows builds failed
699+
if: ${{ contains(needs.*.result, 'failure') }}
700+
run: |
701+
echo "::warning::One or more Windows build jobs failed. This is non-blocking but should be investigated."
702+
echo "windows result: ${{ needs.windows.result }}"
703+
echo "windows-template result: ${{ needs.windows-template.result }}"
687704
release:
688705
permissions:
689706
contents: write # create releases (Nx Release)
@@ -696,8 +713,7 @@ jobs:
696713
- android-template
697714
- macos
698715
- macos-template
699-
- windows
700-
- windows-template
716+
- windows-result
701717
runs-on: ubuntu-24.04
702718
if: ${{ github.event_name != 'schedule' }}
703719
steps:

0 commit comments

Comments
 (0)