Add download asset files step in github actions

Signed-off-by: Loren Eteval <loren.eteval@proton.me>
This commit is contained in:
Loren Eteval
2024-10-12 21:30:19 +08:00
parent ad1f10d9cf
commit 02a6ec9b0e
+14 -4
View File
@@ -35,11 +35,16 @@ jobs:
pip install
setuptools wheel
- name: Install requirements-nocore.txt
- name: Install requirements.txt
run: >-
python3 -m
pip install
-r requirements-nocore.txt
-r requirements.txt
- name: Download latest asset files
run: |
python3 -m pip install requests
python3 Deploy.py --download
- name: Build a binary wheel and a source tarball
run: python3 setup.py sdist bdist_wheel
@@ -133,11 +138,11 @@ jobs:
exit 1
fi
- name: Install requirements-nocore.txt
- name: Install requirements.txt
run: >-
python3 -m
pip install
-r requirements-nocore.txt
-r requirements.txt
- name: Install numpy<2
run: >-
@@ -173,6 +178,11 @@ jobs:
go version
python3 -m pip install "Xray-core >= 1.8.8" "hysteria2 >= 2.0.4" "tun2socks > 2.5.2"
- name: Download latest asset files
run: |
python3 -m pip install requests
python3 Deploy.py --download
- name: Run deploy script
run: python3 Deploy.py