From 74bbf2bfcf3ff12abcd9a7876852aa5b88430f1d Mon Sep 17 00:00:00 2001 From: shenjack <3695888@qq.com> Date: Thu, 14 Dec 2023 10:02:27 +0800 Subject: [PATCH] Update workflow to include path configuration --- .gitea/workflows/label.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.gitea/workflows/label.yml b/.gitea/workflows/label.yml index 5df4e46..5fad28e 100644 --- a/.gitea/workflows/label.yml +++ b/.gitea/workflows/label.yml @@ -13,6 +13,8 @@ jobs: steps: - name: 获取仓库 uses: http://shenjack.top:5100/gitea-server/checkout@v4 + with: + path: main # - name: 安装 Python # uses: actions/setup-python @@ -24,9 +26,14 @@ jobs: uses: http://shenjack.top:5100/gitea-server/checkout@v4 with: repository: gitea-server/python-packs + with: + path: python-packs - name: 安装依赖 run: | + ls -la . + ls -la .. + ls -la ../.. 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