Skip to content

修一下action爆红问题( #153

修一下action爆红问题(

修一下action爆红问题( #153

Workflow file for this run

name: UpdateCache
on:
push:
branches: [ main ] # 触发分支,根据需要可更改为'master'或其他分支
jobs:
notify:
runs-on: ubuntu-latest # 使用Ubuntu环境执行
steps:
- name: install wget
run: |
sudo apt-get update
sudo apt-get install -y wget
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.9.1
- name: install requests
run: |
python -m pip install --upgrade pip
python -m pip install requests
- name: referesh cache
run: |
wget https://f005.backblazeb2.com/file/tinyst-bucket/app.py
python3 ./app.py