Quark Sign-in #73
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: Quark Sign-in | |
on: | |
schedule: | |
- cron: '0 1 * * *' # 每天 UTC 时间 1:00 执行,即北京时间 9:00 | |
workflow_dispatch: # 手动触发 | |
jobs: | |
sign-in: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.x' | |
- name: Install dependencies | |
run: pip install requests | |
- name: Run Quark Sign-in | |
env: | |
COOKIE_QUARK: ${{ secrets.COOKIE_QUARK }} | |
run: | | |
python checkIn_Quark.py |