mirror of
https://github.com/ChrisTitusTech/linutil.git
synced 2024-12-23 20:09:44 +00:00
remove release linutil
This commit is contained in:
parent
e5a6db4571
commit
f43c2fc4a6
22
.github/workflows/rust.yml
vendored
22
.github/workflows/rust.yml
vendored
|
@ -18,17 +18,21 @@ jobs:
|
|||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Cache Cargo registry
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: ~/.cargo/registry
|
||||
key: ${{ runner.os }}-cargo-registry-${{ hashFiles('**/Cargo.lock') }}
|
||||
restore-keys: ${{ runner.os }}-cargo-registry-
|
||||
- name: Cache Cargo index
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: ~/.cargo/git
|
||||
key: ${{ runner.os }}-cargo-index-${{ hashFiles('**/Cargo.lock') }}
|
||||
restore-keys: ${{ runner.os }}-cargo-index-
|
||||
- name: Install Rust
|
||||
uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
toolchain: stable
|
||||
- name: Build
|
||||
run: cargo build --release --verbose
|
||||
- name: Move linutil binary
|
||||
run: mv target/release/linutil linutil
|
||||
- name: Replace linutil binary
|
||||
uses: stefanzweifel/git-auto-commit-action@v5
|
||||
with:
|
||||
commit_message: "Replace linutil binary"
|
||||
file_pattern: ./linutil
|
||||
commit_options: "--allow-empty --no-verify"
|
||||
run: cargo build --release --verbose
|
Loading…
Reference in New Issue
Block a user