尝试直接checkout

This commit is contained in:
shenjack 2023-12-14 09:59:32 +08:00
parent 60680bacad
commit 450c879742
Signed by: shenjack
GPG Key ID: 7B1134A979775551

View File

@ -17,12 +17,17 @@ jobs:
# - name: 安装 Python # - name: 安装 Python
# uses: actions/setup-python # uses: actions/setup-python
- name: ensure pip # - name: ensure pip
uses: http://shenjack.top:5100/gitea-server/python-packs@1cd32b1235ba23d51524b6870c0735f63efcffc2 # uses: http://shenjack.top:5100/gitea-server/python-packs@1cd32b1235ba23d51524b6870c0735f63efcffc2
- name: ensurepip
uses: http://shenjack.top:5100/gitea-server/checkout@v4
with:
repository: gitea-server/python-packs
- name: 安装依赖 - name: 安装依赖
run: | run: |
python3 -m ensurepip python3 -m ../python-packs/ensurepip
python3 -m pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple python3 -m pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple
python3 -m pip install -U pip python3 -m pip install -U pip
python3 -m pip install mistune python3 -m pip install mistune