Skip to content

刷步数

刷步数 #5284

Workflow file for this run

name: 刷步数
on:
#push:
# branches: [ master ]
#pull_request:
# branches: [ master ]
schedule:
- cron: '4 0,2,5,7,9,11,12 * * *'
watch:
types: started
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout codes
uses: actions/checkout@v4
- name: Update system and install zsh
run: |
sudo -E apt-get -qq update
sudo -E apt-get install zsh -y
- name: 初始化Python
uses: actions/setup-python@v5
with:
python-version: 3.8
- name: 开始
env:
CONFIG: ${{ secrets.CONFIG }}
run: |
pip install --upgrade pip
pip3 install requests
python3 main.py