Update label.yml to install dependencies using pip
Some checks failed
自动生成 label / Generate-label (push) Failing after 21s
Some checks failed
自动生成 label / Generate-label (push) Failing after 21s
This commit is contained in:
parent
04e6cbc6f4
commit
f13900964b
@ -19,18 +19,27 @@ jobs:
|
|||||||
# - 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
|
# - name: ensurepip
|
||||||
uses: http://shenjack.top:5100/gitea-server/checkout@v4
|
# uses: http://shenjack.top:5100/gitea-server/checkout@v4
|
||||||
with:
|
# with:
|
||||||
repository: gitea-server/python-packs
|
# repository: gitea-server/python-packs
|
||||||
path: python-packs
|
# path: python-packs
|
||||||
|
|
||||||
|
- name: pip
|
||||||
|
run: |
|
||||||
|
cd ..
|
||||||
|
git clone https://gitea.com/gitea/python-packs.git
|
||||||
|
cd python-packs
|
||||||
|
python3 -m ensurepip
|
||||||
|
cd ..
|
||||||
|
cd main
|
||||||
|
|
||||||
- name: 安装依赖
|
- name: 安装依赖
|
||||||
run: |
|
run: |
|
||||||
ls -la .
|
ls -la .
|
||||||
ls -la ..
|
ls -la ..
|
||||||
ls -la ../..
|
ls -la ../..
|
||||||
python3 -m ../python-packs/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
|
||||||
|
Loading…
Reference in New Issue
Block a user