mirror of
https://github.com/JefferyHcool/BiliNote.git
synced 2026-05-31 06:59:45 +08:00
ci/cd:修复win打包
This commit is contained in:
9
.github/workflows/main.yml
vendored
9
.github/workflows/main.yml
vendored
@@ -29,8 +29,13 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
python -m pip install --upgrade pip
|
python -m pip install --upgrade pip
|
||||||
pip install -r backend/requirements.txt
|
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 环境 + 安装前端依赖
|
# 设置 Node 环境 + 安装前端依赖
|
||||||
- name: Set up Node.js
|
- name: Set up Node.js
|
||||||
|
|||||||
Reference in New Issue
Block a user