mirror of
https://github.com/ChrisTitusTech/linutil.git
synced 2024-11-22 05:12:27 +00:00
remove release linutil
This commit is contained in:
parent
e5a6db4571
commit
f43c2fc4a6
20
.github/workflows/rust.yml
vendored
20
.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"
|
Loading…
Reference in New Issue
Block a user