Skip to content

use cargo binstall #41

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 11, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v2

- name: Install cargo-binstall
uses: cargo-bins/cargo-binstall@v1.10.15

- name: Docker meta
id: meta
uses: docker/metadata-action@v5
Expand Down Expand Up @@ -59,8 +62,8 @@ jobs:
name: Install build dependencies
continue-on-error: false
run: |
cargo install cargo-component --force --version ${{ env.CARGO_COMPONENT_VERSION }}
cargo install wkg --force
cargo binstall cargo-component --force --version ${{ env.CARGO_COMPONENT_VERSION }}
cargo binstall wkg --force

- name: Build the component
run: cargo component build --release
Expand Down