Template
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user