Skip to content

Commit

Permalink
decompress the cargo-deny precompiled binary into a fixed name directory
Browse files Browse the repository at this point in the history
  • Loading branch information
drink7036290 committed Dec 18, 2024
1 parent d08de1a commit 297cec5
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/actions/basics/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,11 @@ runs:

- name: Install cargo-deny precompiled binary
run: |
curl -L https://github.com/EmbarkStudios/cargo-deny/releases/download/0.16.3/cargo-deny-0.16.3-x86_64-unknown-linux-musl.tar.gz | tar xz
chmod +x cargo-deny
mv cargo-deny ~/.cargo/bin/
mkdir -p cargo-deny-dir
curl -L https://github.com/EmbarkStudios/cargo-deny/releases/download/0.16.3/cargo-deny-0.16.3-x86_64-unknown-linux-musl.tar.gz | tar xz --strip-components=1 -C cargo-deny-dir
chmod +x cargo-deny-dir/cargo-deny
mv cargo-deny-dir/cargo-deny ~/.cargo/bin/
rm -rf cargo-deny-dir
shell: bash

- name: Elapsed after cargo-deny install
Expand Down

0 comments on commit 297cec5

Please sign in to comment.