Compare commits

...

1 Commits
test ... main

Author SHA1 Message Date
55942c59ec ci: update toolchain
All checks were successful
Create Scripts / Build (push) Successful in 1m51s
2025-06-27 20:20:08 +08:00

View File

@ -9,18 +9,33 @@ jobs:
Build:
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Rust
uses: actions-rust-lang/setup-rust-toolchain@v1
- uses: actions/checkout@v4
- uses: actions/cache@v4
env:
prefix-key: v0-rust
with:
toolchain: stable
- name: Create Script
uses: actions-rs/cargo@v1
key: ${{ env.prefix-key }}-${{ runner.os }}-${{ runner.arch }}-${{ hashFiles('Cargo.lock') }}
restore-keys: |
${{ env.prefix-key }}-${{ runner.os }}-${{ runner.arch }}-
${{ env.prefix-key }}-${{ runner.os }}-
${{ env.prefix-key }}-
path: |
~/.cargo/bin
~/.cargo/.crates.toml
~/.cargo/.crates2.json
~/.cargo/registry
~/.cargo/git
~/.rustup/toolchains
./target
- uses: dtolnay/rust-toolchain@stable
with:
toolchain: 1.88.0
- uses: actions-rs/cargo@v1
with:
command: run
# - name: Upload Artifact
# uses: christopherhx/gitea-upload-artifact@v4
# with:
# name: chn_list.rsc
# path: chn_list.rsc
- name: Upload Artifact
uses: christopherhx/gitea-upload-artifact@v4
with:
name: chn_list.rsc
path: chn_list.rsc
retention-days: 7