ci(workflow): 调整构建步骤顺序并添加 Node.js 设置
Some checks failed
Build Android APK / 编译 libcore.aar (push) Failing after 12s
Build Android APK / 编译 Android APK (release) (push) Has been skipped
Build Multi-Platform / 编译 libcore (iOS/tvOS) (push) Failing after 7s
Build Windows / 编译 libcore (Windows) (push) Failing after 7s
Build Windows / build (push) Has been skipped
Build Multi-Platform / 编译 libcore (Android) (push) Has been cancelled
Build Android APK / 创建 GitHub Release (push) Has been cancelled
Build Multi-Platform / 编译 libcore (Windows) (push) Has been cancelled
Build Multi-Platform / 编译 libcore (macOS) (push) Has been cancelled
Build Multi-Platform / 编译 libcore (Linux) (push) Has been cancelled
Build Multi-Platform / 构建 Android APK (push) Has been cancelled
Build Multi-Platform / 构建 Windows (push) Has been cancelled
Build Multi-Platform / 构建 macOS (push) Has been cancelled
Build Multi-Platform / 构建 Linux (push) Has been cancelled
Build Multi-Platform / 创建 Release (push) Has been cancelled
Build Multi-Platform / 构建 iOS (push) Has been cancelled

将 Node.js 设置步骤提前到构建流程的开始,确保后续步骤能正确使用 Node.js 环境
This commit is contained in:
shanshanzhong 2025-11-05 18:14:17 -08:00
parent 6e189671c7
commit 7cd360e61e

View File

@ -14,6 +14,11 @@ jobs:
runs-on: client-server
steps:
- name: 🔧 设置 Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
- name: 📥 Checkout 代码
uses: actions/checkout@v4
with:
@ -27,10 +32,6 @@ jobs:
cache: true
cache-dependency-path: libcore/go.sum
- name: 🔧 设置 Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
- name: 🔧 安装 MinGW
run: |