chore: add workflows

This commit is contained in:
椰子 2024-02-22 21:54:53 +08:00
parent 2d6886240e
commit 3a6b7fc451

24
.gitea/workflows/cron.yml Normal file
View File

@ -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