ci/cd:修复win打包

This commit is contained in:
JefferyHcool
2025-06-19 18:09:01 +08:00
parent 2a510e8059
commit cdcbfc89bc

View File

@@ -29,8 +29,13 @@ jobs:
run: |
python -m pip install --upgrade pip
pip install -r backend/requirements.txt
chmod +x backend/build.sh
./backend/build.sh
if [ "$RUNNER_OS" = "Windows" ]; then
backend\\build.bat
else
chmod +x backend/build.sh
./backend/build.sh
fi
# 设置 Node 环境 + 安装前端依赖
- name: Set up Node.js