Skip to content

Commit c855d01

Browse files
committed
use cargo binstall
1 parent 10a1de5 commit c855d01

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/publish.yml

+5-2
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@ jobs:
2323
- name: Checkout repository
2424
uses: actions/checkout@v2
2525

26+
- name: Install cargo-binstall
27+
uses: cargo-bins/[email protected]
28+
2629
- name: Docker meta
2730
id: meta
2831
uses: docker/metadata-action@v5
@@ -59,8 +62,8 @@ jobs:
5962
name: Install build dependencies
6063
continue-on-error: false
6164
run: |
62-
cargo install cargo-component --force --version ${{ env.CARGO_COMPONENT_VERSION }}
63-
cargo install wkg --force
65+
cargo binstall cargo-component --force --version ${{ env.CARGO_COMPONENT_VERSION }}
66+
cargo binstall wkg --force
6467
6568
- name: Build the component
6669
run: cargo component build --release

0 commit comments

Comments
 (0)