mikrotik-router-switch/.gitea/workflows/cron.yml
Yezzi Hsueh d03561f333
All checks were successful
Create Scripts / Build (push) Successful in 3m46s
chore: cache deps
2024-02-22 22:05:16 +08:00

28 lines
634 B
YAML

name: Create Scripts
on:
push:
schedule:
- cron: 0 5 * * *
jobs:
Build:
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Cache Creates
uses: actions/cache@v3
with:
path: /root/.cargo/registry
- name: Setup Cargo
uses: actions-rs/toolchain@v1
with:
toolchain: stable
- name: Create Script
uses: actions-rs/cargo@v1
with:
command: run
- name: Upload Artifact
uses: actions/upload-artifact@v3
with:
name: chn_list.rsc
path: chn_list.rsc