Afternoon Exercise #9
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: Afternoon Exercise | |
on: | |
schedule: | |
- cron: '00 08 * * 1-5' | |
workflow_dispatch: | |
jobs: | |
afternoon-exercise: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout codes | |
uses: actions/checkout@v3 | |
- name: Setup Python | |
uses: actions/setup-python@v3 | |
with: | |
python-version: '3.10' | |
- name: Prepare environment | |
run: pip install -r requirements.txt | |
- name: Run app | |
run: python main.py -r 33 -d 1200 -t 360 -q | |
env: | |
USER_ID: ${{ secrets.USER_ID }} | |
FUDAN_SPORT_TOKEN: ${{ secrets.FUDAN_SPORT_TOKEN }} | |
PLATFORM_OS: ${{ secrets.PLATFORM_OS }} | |
PLATFORM_DEVICE: ${{ secrets.PLATFORM_DEVICE }} |