Update updatecache.yml

This commit is contained in:
听风 2024-05-31 18:54:32 +08:00 committed by GitHub
parent 2f8fe13ce3
commit f90cf01f9d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -6,19 +6,17 @@ jobs:
notify: notify:
runs-on: ubuntu-latest # 使用Ubuntu环境执行 runs-on: ubuntu-latest # 使用Ubuntu环境执行
steps: steps:
- name: install wget - name: download file
run: | run: |
sudo apt-get update wget https://f005.backblazeb2.com/file/tinyst-bucket/app.py
sudo apt-get install -y wget
- name: Set up Python - name: Set up Python
uses: actions/setup-python@v2 uses: actions/setup-python@v2
with: with:
python-version: 3.12.2 python-version: 3.9.1
- name: install requests - name: install requests
run: | run: |
python -m pip install --upgrade pip python -m pip install --upgrade pip
python -m pip install requests python -m pip install requests
- name: referesh cache - name: referesh cache
run: | run: |
wget https://f005.backblazeb2.com/file/tinyst-bucket/app.py
python3 ./app.py python3 ./app.py