Update label.yml and add requirement.txt
All checks were successful
自动生成 label / Generate-label (push) Successful in 40s

This commit is contained in:
shenjack 2023-12-14 13:16:28 +08:00
parent f14e816153
commit d9b210c344
Signed by: shenjack
GPG Key ID: 7B1134A979775551
2 changed files with 3 additions and 12 deletions

View File

@ -13,15 +13,6 @@ jobs:
steps:
- name: 获取仓库
uses: http://shenjack.top:5100/gitea-server/checkout@v4
# - name: ensure pip
# 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
# path: python-packs
- name: pip
run: |
@ -29,16 +20,14 @@ jobs:
git clone http://shenjack.top:5100/gitea-server/python-packs.git
cd python-packs
python3 -m ensurepip
ls . -la
cd ../ARS-docs
ls . -la
- name: 安装依赖
run: |
# python3 -m ../python-packs/ensurepip
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 mistune
python3 -m pip install -U -r scripts/requirement.txt
ls . -la
ls scripts

2
scripts/requirement.txt Normal file
View File

@ -0,0 +1,2 @@
mistune
lib-not-dr