init: initialize the repo
SyncMirror / sync (push) Waiting to run

This commit is contained in:
GamerNoTitle committed 2024-12-07 20:02:40 +08:00
commit 9f9d0a3519
8 files changed
+358

No files matched your search

@@ -0,0 +1,35 @@
name: AutoCheckin
on:
workflow_dispatch:
release:
types: [published]
push:
tags:
- 'v*'
# branches:
# - master
schedule:
- cron: "0 2 * * *"
watch:
types: [started]
jobs:
build:
runs-on: ubuntu-latest
# if: github.event.repository.owner.id == github.event.sender.id # 自己点的 start
steps:
- name: Checkout
uses: actions/checkout@master
- name: Set up Python #安装python
uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Install requirements #安装轮子
run: |
pip install -r requirements.txt
- name: Run script
env:
MHYY_CONFIG: ${{ secrets.MHYY_SECRET }}
run: |
python3 main.py