From f13900964b3e06c1428f7fd1d9b52781d5e0de14 Mon Sep 17 00:00:00 2001 From: shenjack <3695888@qq.com> Date: Thu, 14 Dec 2023 12:38:58 +0800 Subject: [PATCH] Update label.yml to install dependencies using pip --- .gitea/workflows/label.yml | 21 +++++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-) diff --git a/.gitea/workflows/label.yml b/.gitea/workflows/label.yml index cca0970..5e937df 100644 --- a/.gitea/workflows/label.yml +++ b/.gitea/workflows/label.yml @@ -19,18 +19,27 @@ jobs: # - 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: ensurepip + # uses: http://shenjack.top:5100/gitea-server/checkout@v4 + # with: + # repository: gitea-server/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: 安装依赖 run: | 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 install -U pip python3 -m pip install mistune