Skip to content

多线程优化

多线程优化 #1

Workflow file for this run

name: Synch Gitee To Github

Check failure on line 1 in .github/workflows/sync.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/sync.yml

Invalid workflow file

invalid `cron` attribute "0 *0 * * *"
on:
workflow_call:
workflow_dispatch:
schedule:
- cron: "0 *0 * * *"
jobs:
sync:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Config
run: |
sudo apt update
sudo apt install git python3-requests -y
- name: Push
env:
GITHUBTOKEN: ${{ secrets.GITHUBTOKEN }}
GITHUBUSER: ${{ secrets.GITHUBUSER }}
GITCODETOKEN: ${{ secrets.GITCODETOKEN }}
GITCODEUSER: ${{ secrets.GITCODEUSER }}
run: |
cd sync-gitee-to-github
python3 sync.py $GITHUBUSER $GITHUBTOKEN $GITCODEUSER $GITCODETOKEN