diff --git a/.gitea/workflows/cron.yml b/.gitea/workflows/cron.yml new file mode 100644 index 0000000..af8c71e --- /dev/null +++ b/.gitea/workflows/cron.yml @@ -0,0 +1,24 @@ +name: Create Scripts +on: + push: + schedule: + - cron: 0 5 * * * +jobs: + Build: + runs-on: ubuntu-22.04 + steps: + - name: Checkout + uses: actions/checkout@v4 + - name: Setup Cargo + uses: actions-rs/toolchain@v1 + with: + toolchain: stable + - name: build + uses: actions-rs/cargo@v1 + with: + command: run + - name: Upload Artifact + uses: actions/upload-artifact@v4 + with: + name: chn_list.rsc + path: chn_list.rsc