Skip to content

Commit 377a21e

Browse files
fix: don't install binstall, cargo-edit doesn't have a package anyway
1 parent bb875b8 commit 377a21e

File tree

2 files changed

+3
-29
lines changed

2 files changed

+3
-29
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -481,23 +481,10 @@ jobs:
481481
482482
cargo --version
483483
484-
- name: Get binstall
485-
shell: bash
486-
working-directory: /tmp
487-
run: |
488-
archive="cargo-binstall-x86_64-unknown-linux-musl.tgz"
489-
wget "https://github.com/cargo-bins/cargo-binstall/releases/latest/download/${archive}"
490-
491-
tar -xvf "./${archive}"
492-
493-
rm "./${archive}"
494-
495-
mv ./cargo-binstall ~/.cargo/bin/
496-
497484
- name: Install cargo-edit to do set-version
498485
shell: bash
499486
run: |
500-
cargo binstall cargo-edit
487+
cargo install cargo-edit
501488
502489
- name: Set the Cargo.toml version before we copy in the data into the Docker container
503490
shell: bash

.github/workflows/publish-crate-after-release.yml

Lines changed: 2 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -72,23 +72,10 @@ jobs:
7272
7373
cargo --version
7474
75-
- name: Get binstall
75+
- name: Install cargo-edit to do set-version
7676
shell: bash
77-
working-directory: /tmp
7877
run: |
79-
archive="cargo-binstall-x86_64-unknown-linux-musl.tgz"
80-
wget "https://github.com/cargo-bins/cargo-binstall/releases/latest/download/${archive}"
81-
82-
tar -xvf "./${archive}"
83-
84-
rm "./${archive}"
85-
86-
mv ./cargo-binstall ~/.cargo/bin/
87-
88-
- name: Install binstall to do set-version
89-
shell: bash
90-
run: |
91-
cargo binstall cargo-edit
78+
cargo install cargo-edit
9279
9380
- name: Set version in Cargo.toml / Cargo.lock
9481
shell: bash

0 commit comments

Comments
 (0)