From 3a6b7fc4512c51eaf081b0be776aaa9a23edfb56 Mon Sep 17 00:00:00 2001 From: Yezzi Hsueh Date: Thu, 22 Feb 2024 21:54:53 +0800 Subject: [PATCH] chore: add workflows --- .gitea/workflows/cron.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .gitea/workflows/cron.yml 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