chore: add workflows
This commit is contained in:
parent
2d6886240e
commit
3a6b7fc451
24
.gitea/workflows/cron.yml
Normal file
24
.gitea/workflows/cron.yml
Normal 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
|
Loading…
Reference in New Issue
Block a user