From 070c08580f1a6fb47ad0e3c00b35ce60ba2d51e4 Mon Sep 17 00:00:00 2001 From: Haruaki Tamada Date: Wed, 17 Apr 2024 13:44:22 +0900 Subject: [PATCH] introduce cargo-bininstall --- .github/workflows/publish.yaml | 7 +++++-- Cargo.toml | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index 6d5d263..79fa5fc 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -78,10 +78,13 @@ jobs: path: ~/.cargo/registry key: ${{ runner.os }}-cargo-registry-${{ hashFiles('**/Cargo.lock') }} - - name: Setup Rust (1/2) + - name: Setup Rust (1/3) (toolchain) uses: actions-rust-lang/setup-rust-toolchain@v1 - - name: Setup Rust (2/2) + - name: Setup Rust (2/3) (bininstall) + uses: cargo-bins/cargo-binstall@main + + - name: Setup Rust (3/3) run: | cargo bininstall --no-confirm cross diff --git a/Cargo.toml b/Cargo.toml index 6288aa4..4eb5b68 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "totebag" -version = "0.1.8" +version = "0.1.9" description = "A tool for archiving files and directories and extracting several archive formats." repository = "https://github.com/tamada/totebag" readme = "README.md"