forked from Rockytkg/AutoMoGuDingCheckIn
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
38 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
name: "打卡" | ||
|
||
on: | ||
workflow_dispatch: | ||
schedule: | ||
- cron: "0 1 * * *" # 每天UTC时间1:00(北京时间9:00)执行 | ||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Set up Python 3.8 | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: '3.8' | ||
|
||
- name: Install depend | ||
run: | | ||
pip install certifi | ||
pip install cffi | ||
pip install charset-normalizer | ||
pip install cryptography | ||
pip install idna | ||
pip install numpy | ||
pip install opencv-python | ||
pip install pycparser | ||
pip install requests | ||
pip install urllib3 | ||
pip install aes-pkcs5 | ||
pip install Pillow | ||
pip install opencv-python-headless | ||
- name: Start sign | ||
env: | ||
USER: ${{ secrets.USER }} | ||
run: | | ||
python main.py |