2024-02-22 13:54:53 +00:00
|
|
|
name: Create Scripts
|
|
|
|
on:
|
|
|
|
push:
|
2024-02-27 15:31:17 +00:00
|
|
|
paths-ignore:
|
|
|
|
- "**.md"
|
2024-02-22 13:54:53 +00:00
|
|
|
schedule:
|
|
|
|
- cron: 0 5 * * *
|
|
|
|
jobs:
|
|
|
|
Build:
|
|
|
|
runs-on: ubuntu-22.04
|
|
|
|
steps:
|
|
|
|
- name: Checkout
|
|
|
|
uses: actions/checkout@v4
|
2024-02-22 14:30:51 +00:00
|
|
|
- name: Setup Rust
|
|
|
|
uses: actions-rust-lang/setup-rust-toolchain@v1
|
2024-02-22 13:54:53 +00:00
|
|
|
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-27 15:31:17 +00:00
|
|
|
path: chn_list.rsc
|