Skip to content

Update main.yaml

Update main.yaml #1

Workflow file for this run

name: 转换
#on:
#schedule:
#- cron: '0 5 * * *' # 每天凌晨 5 点执行

Check failure on line 5 in .github/workflows/main.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/main.yaml

Invalid workflow file

You have an error in your yaml syntax on line 5
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.x'
- name: Install dependencies
run: pip install pandas
- name: Run IP extraction script
run: python 转换.py
- name: Commit 和 push changes
uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: 'Update ip.txt with extracted IPs'
branch: 优选ip