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

28 lines
634 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
2024-02-22 14:05:16 +00:00
- name: Cache Creates
uses: actions/cache@v3
with:
path: /root/.cargo/registry
2024-02-22 13:54:53 +00:00
- name: Setup Cargo
uses: actions-rs/toolchain@v1
with:
toolchain: stable
2024-02-22 14:05:16 +00:00
- name: Create Script
2024-02-22 13:54:53 +00:00
uses: actions-rs/cargo@v1
with:
command: run
- name: Upload Artifact
2024-02-22 14:05:16 +00:00
uses: actions/upload-artifact@v3
2024-02-22 13:54:53 +00:00
with:
name: chn_list.rsc
2024-02-22 14:05:16 +00:00
path: chn_list.rsc