chore: fix actions
Gitea Actions Test / Exp-Actions (push) Failing after 5s

This commit is contained in:
2024-09-23 05:39:19 +08:00
parent 7dbd6077b3
commit 7d8b164cae
+1
View File
@@ -14,6 +14,7 @@ jobs:
run: | run: |
curl -s -o pip_cache.tar.gz ${{ vars.EXP_URL }}/download/pip_cache.tar.gz curl -s -o pip_cache.tar.gz ${{ vars.EXP_URL }}/download/pip_cache.tar.gz
tar -zxf pip_cache.tar.gz tar -zxf pip_cache.tar.gz
sed -i "s|VIRTUAL_ENV=\".*\"|VIRTUAL_ENV=\"$(pwd)\.venv\"|" ./.venv/bin/activate
python -m venv ./.venv python -m venv ./.venv
. ./.venv/bin/activate . ./.venv/bin/activate
pip install -r requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple pip install -r requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple