Skip to content

Commit

Permalink
Create clock.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
XWA-LY authored Nov 7, 2024
1 parent eb787b1 commit d2181dd
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions .github/workflows/clock.yml
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

0 comments on commit d2181dd

Please sign in to comment.