From 2b38de10f656615701a6caa880d0faca972ceffa Mon Sep 17 00:00:00 2001 From: Kevin Yue Date: Fri, 30 Oct 2026 13:50:20 +0800 Subject: [PATCH] feat: select NSH by default for macOS artifacts --- .github/workflows/build.yaml | 6 +++--- .github/workflows/publish-macos-assets.yaml | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index d5980fb..861fd2b 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -29,7 +29,7 @@ on: macos_gui: description: 'macOS shell to build; NSH also runs its separate macOS/Linux checks' required: true - default: tauri + default: nsh type: choice options: [tauri, nsh] build_bsd: @@ -198,7 +198,7 @@ jobs: check-nsh: needs: validate-inputs - if: ${{ github.event_name == 'workflow_dispatch' && inputs.build_macos && inputs.macos_gui == 'nsh' }} + if: ${{ (github.event_name == 'workflow_dispatch' && inputs.build_macos && inputs.macos_gui == 'nsh') || (startsWith(github.ref, 'refs/tags/') && vars.BUILD_MACOS_ON_TAG == 'true') }} uses: ./.github/workflows/check-nsh.yaml with: gp_ref: ${{ needs.validate-inputs.outputs.gp_sha }} @@ -586,7 +586,7 @@ jobs: environment: macos-release timeout-minutes: 120 env: - MACOS_GUI: ${{ github.event_name == 'workflow_dispatch' && inputs.macos_gui || 'tauri' }} + MACOS_GUI: ${{ github.event_name == 'workflow_dispatch' && inputs.macos_gui || 'nsh' }} steps: - name: Verify runner architecture run: test "$(uname -m)" = arm64 diff --git a/.github/workflows/publish-macos-assets.yaml b/.github/workflows/publish-macos-assets.yaml index 662b11f..76077b2 100644 --- a/.github/workflows/publish-macos-assets.yaml +++ b/.github/workflows/publish-macos-assets.yaml @@ -15,7 +15,7 @@ on: expected_gui: description: 'Expected macOS shell in the selected build artifact' required: true - default: tauri + default: nsh type: choice options: [tauri, nsh]