🎨 Simplify the logic of actions and fix the Mac environment

This commit is contained in:
Tw93
2025-09-07 07:01:16 +08:00
parent b5a3b624a6
commit c1938e9fa6
3 changed files with 29 additions and 46 deletions

View File

@@ -76,7 +76,7 @@ jobs:
- name: Setup Node.js Environment
uses: ./.github/actions/setup-env
with:
mode: ${{ matrix.build == 'linux' && 'full' || 'node-only' }}
mode: ${{ (matrix.build == 'linux' || matrix.build == 'macos') && 'build' || 'node' }}
- name: Rust cache restore
uses: actions/cache/restore@v4.2.0