This commit is contained in:
parent
6a4688b9c1
commit
58b4bd6415
@ -9,14 +9,28 @@ 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 }}-${{ hashFiles('Cargo.lock') }}
|
||||
${{ env.prefix-key }}-${{ runner.os }}-${{ runner.arch }}
|
||||
${{ env.prefix-key }}-${{ runner.arch }}
|
||||
${{ env.prefix-key }}-
|
||||
path: |
|
||||
~/.cargo/bin
|
||||
~/.cargo/.crates.toml
|
||||
~/.cargo/.crates2.json
|
||||
~/.cargo/registry
|
||||
~/.cargo/git
|
||||
#- uses: actions-rust-lang/setup-rust-toolchain@v1
|
||||
- uses: dtolnay/rust-toolchain@stable
|
||||
with:
|
||||
toolchain: 1.88.0
|
||||
- uses: actions-rs/cargo@v1
|
||||
with:
|
||||
command: run
|
||||
# - name: Upload Artifact
|
||||
|
Loading…
Reference in New Issue
Block a user