diff --git a/.github/workflows/download.yml b/.github/workflows/download.yml deleted file mode 100644 index f63e4f27..00000000 --- a/.github/workflows/download.yml +++ /dev/null @@ -1,38 +0,0 @@ -name: Download - -on: -# schedule: -# - cron: 30 0,12 * * * - workflow_dispatch: - -jobs: - work: - runs-on: ubuntu-latest - - steps: - - name: Checkout - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - - name: Download - run: | - curl https://raw.githubusercontent.com/HenryQinUp/JK/master/Q2WForever.json > Q2WForever.json - # 删掉盘搜 - sed -i "/csp_AliPanSou/c\\ " ./Q2WForever.json - # 删掉小纸条 - sed -i "/csp_GitCafe/c\\ " ./Q2WForever.json - # 删掉找资源 - sed -i "/csp_FindZY/c\\ " ./Q2WForever.json - # 删掉推送 - sed -i "/csp_PushAgent/c\\ " ./Q2WForever.json - # 更新时间 - sed -i "/Q2WForever.json/c\\// update time: $(date -u -d '+8 hour' '+%Y.%m.%d %H:%M:%S')" ./Q2WForever.json - - - name: Commit And Push - run: | - git config --local user.name "github-actions[bot]" - git config --local user.email "github-actions[bot]@users.noreply.github.com" - git add --all - git commit -m "update src" - git push origin main