feat: select NSH by default for macOS artifacts

This commit is contained in:
Kevin Yue committed 2026-11-01 23:35:54 +08:00
1 parent 4aa7b66313
commit 2b38de10f6
2 files changed
+4 -4

No files matched your search

+3 -3
View File
@@ -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
+1 -1
View File
@@ -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]