Verify Available Hourly #1
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: Verify Available Hourly | |
on: | |
schedule: | |
- cron: '0 * * * *' # 每小时运行一次 | |
workflow_dispatch: # 允许手动触发 | |
jobs: | |
verify: | |
runs-on: ubuntu-latest | |
steps: | |
- name: 检出代码 | |
uses: actions/checkout@v4 | |
- name: 设置 Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.x' # 选择你需要的 Python 版本 | |
- name: 安装依赖 | |
run: | | |
python -m pip install --upgrade pip | |
pip install -r requirements.txt # 如果有依赖文件的话 | |
- name: 运行验证脚本 | |
run: python verify_available.py # 替换为你的实际脚本名称 |