Skip to content

刷步数2

刷步数2 #709

Workflow file for this run

name: 刷步数2
on:
schedule:
- cron: '15 12 * * *'
jobs:
build:
runs-on: ubuntu-latest
if: github.event.repository.owner.id == github.event.sender.id
steps:
- name: Checkout codes
uses: actions/checkout@v2
- 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@v2
with:
python-version: 3.8
- name: 开始
run: |
pip3 install requests
user='${{ secrets.USER }}'
passwd='${{ secrets.PWD }}'
python3 main.py ${user} ${passwd}