This commit is contained in:
han0
2025-10-13 15:43:49 +08:00
parent c4c74cda65
commit 6ebdc7dd9f
2 changed files with 5 additions and 6 deletions

View File

@@ -13,7 +13,7 @@ jobs:
build:
runs-on: ubuntu-latests
container:
image: python:3.7.16
image: python:3.7.17
steps:
- name: Checkout
@@ -24,8 +24,8 @@ jobs:
- name: Build
run: |
mkdir dist
PYTHONUSERBASE=$CI_PROJECT_DIR/home pip install --upgrade pip -i https://mirror.aliyun.com/pypi/simple --user
PYTHONUSERBASE=$CI_PROJECT_DIR/home pip install -r ./requirements.txt -i https://mirror.aliyun.com/pypi/simple --user
PYTHONUSERBASE=$CI_PROJECT_DIR/home pip install --upgrade pip -i https://mirrors.aliyun.com/pypi/simple --user
PYTHONUSERBASE=$CI_PROJECT_DIR/home pip install -r ./requirements.txt -i https://mirrors.aliyun.com/pypi/simple --user
rsync -ha ./ ./dist --exclude=dist --exclude=.git --delete
- name: Deploy