From 98b0541d0a1d1e0b3f5151e05a91545b4641bb7f Mon Sep 17 00:00:00 2001 From: yanghuanglin Date: Fri, 21 Nov 2025 18:58:11 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E5=B7=A5=E4=BD=9C=E6=B5=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/BuildLauncher.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/BuildLauncher.yml b/.github/workflows/BuildLauncher.yml index ba92f3b..fab867e 100644 --- a/.github/workflows/BuildLauncher.yml +++ b/.github/workflows/BuildLauncher.yml @@ -29,7 +29,8 @@ env: jobs: build-spt: - runs-on: spt-build-dotnet + runs-on: ubuntu-latest + container: refringe/spt-build-dotnet:2.1.0 steps: - name: 克隆代码 @@ -44,6 +45,7 @@ jobs: echo "安装zip和unzip" chmod a+x bin/* cp bin/* /usr/bin/ + apt update -y # 创建脚本目录和输出目录 echo "创建脚本目录${{ env.BUILD_SCRIPT_DIR }}和输出目录${{ env.BUILD_SCRIPT_OUTPUT_DIR }}" @@ -56,6 +58,11 @@ jobs: # 复制构建脚本 cp build.sh ${{ env.BUILD_SCRIPT_DIR }} + - name: 设置 Node.js + uses: actions/setup-node@v4 + with: + node-version: '' + - name: 获取Managed.zip id: managed if: ${{ github.event.inputs.build_modules == 'true' }}