更新工作流
This commit is contained in:
9
.github/workflows/BuildLauncher.yml
vendored
9
.github/workflows/BuildLauncher.yml
vendored
@@ -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' }}
|
||||
|
||||
Reference in New Issue
Block a user