Skip to content

Commit 9446e84

Browse files
committed
fixup! use GITHUB_OUTPUT
1 parent 0932fda commit 9446e84

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

.github/workflows/build.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -544,6 +544,8 @@ jobs:
544544
permissions: {}
545545
runs-on: windows-2025
546546
if: ${{ github.event_name != 'schedule' }}
547+
outputs:
548+
result: ${{ steps.outcome.outputs.result }}
547549
strategy:
548550
matrix:
549551
platform: [ARM64, x64]
@@ -593,7 +595,8 @@ jobs:
593595
}
594596
working-directory: packages/app/example
595597
continue-on-error: true
596-
- name: Set build status
598+
- name: Set build result
599+
id: outcome
597600
if: ${{ steps.affected.outputs.windows != '' && steps.build.outcome != 'success' }}
598601
run: |
599602
echo "result=failed" >> "$GITHUB_OUTPUT"
@@ -616,6 +619,8 @@ jobs:
616619
name: "Windows [template]"
617620
permissions: {}
618621
runs-on: windows-2025
622+
outputs:
623+
result: ${{ steps.outcome.outputs.result }}
619624
if: ${{ github.event_name != 'schedule' }}
620625
strategy:
621626
matrix:
@@ -653,7 +658,8 @@ jobs:
653658
yarn windows --logging --no-packager --no-launch --no-deploy
654659
working-directory: template-example
655660
continue-on-error: true
656-
- name: Set build status
661+
- name: Set build result
662+
id: outcome
657663
if: ${{ steps.affected.outputs.windows != '' && steps.build.outcome != 'success' }}
658664
run: |
659665
echo "result=failed" >> "$GITHUB_OUTPUT"

0 commit comments

Comments
 (0)