mikrotik-router-switch/.gitea/workflows/cron.yml

25 lines
516 B
YAML
Raw Normal View History

2024-02-22 13:54:53 +00:00
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