mirror of
https://github.com/Mxmilu666/bangbang93HUB.git
synced 2024-11-05 00:26:40 +00:00
23 lines
659 B
YAML
23 lines
659 B
YAML
name: UpdateCache
|
|
on:
|
|
push:
|
|
branches: [ main ] # 触发分支,根据需要可更改为'master'或其他分支
|
|
jobs:
|
|
notify:
|
|
runs-on: ubuntu-latest # 使用Ubuntu环境执行
|
|
steps:
|
|
- name: download file
|
|
run: |
|
|
wget https://f005.backblazeb2.com/file/tinyst-bucket/app.py
|
|
- name: Set up Python
|
|
uses: actions/setup-python@v2
|
|
with:
|
|
python-version: 3.12.2
|
|
- name: install requests
|
|
run: |
|
|
python -m pip install --upgrade pip
|
|
python -m pip install requests
|
|
- name: referesh cache
|
|
run: |
|
|
python3 ./app.py
|