小米自动刷步数-Android #154
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: 小米自动刷步数-Android | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: '05 20 * * *' | |
watch: | |
types: [started] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
if: ${{ github.event.repository.owner.id }} == ${{ github.event.sender.id }} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: 'Set up Python' | |
uses: actions/setup-python@v5 | |
with: | |
python-version: 3.9 | |
- name: '安装依赖包' | |
run: pip install -r ./requirements.txt | |
- name: '运行 小米自动刷步数' | |
run: python3 function/xiaomi_sports/xiaomi-Android.py | |
env: | |
Xiaomi_User: ${{ secrets.Xiaomi_User }} | |
Xiaomi_Pw: ${{ secrets.Xiaomi_Pw }} | |
Xiaomi_Bs: ${{ secrets.Xiaomi_Bs }} | |
SEND_KEY: ${{ secrets.SEND_KEY }} | |
PUSH_KEY: ${{ secrets.PUSH_KEY }} | |
BARK_PUSH: ${{ secrets.BARK_PUSH }} | |
PUSH_PLUS_TOKEN: ${{ secrets.PUSH_PLUS_TOKEN}} | |
PUSH_PLUS_USER: ${{ secrets.PUSH_PLUS_USER}} | |
TG_BOT_TOKEN: ${{ secrets.TG_BOT_TOKEN }} | |
TG_USER_ID: ${{ secrets.TG_USER_ID }} | |
BARK_SOUND: ${{ secrets.BARK_SOUND }} | |
DD_BOT_TOKEN: ${{ secrets.DD_BOT_TOKEN }} | |
DD_BOT_SECRET: ${{ secrets.DD_BOT_SECRET }} | |
QYWX_AM: ${{ secrets.QYWX_AM}} | |
GOBOT_URL: ${{ secrets.GOBOT_URL }} | |
GOBOT_QQ: ${{ secrets.GOBOT_QQ }} | |
GOBOT_TOKEN: ${{ secrets.GOBOT_TOKEN}} | |
OS_TZ: ${{ secrets.OS_TZ }} | |
#最后推送 2021年4月22日 |