Skip to content

Commit

Permalink
Move target to action defition and add sudo to install step (#43)
Browse files Browse the repository at this point in the history
  • Loading branch information
xBATx authored Dec 20, 2022
1 parent 2d20307 commit ed23f9c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,11 @@ jobs:
profile: minimal
toolchain: stable
override: true
target: x86_64-unknown-linux-musl

- name: Build for release linux
run: |
rustup target add x86_64-unknown-linux-musl
apt-get install musl-tools
sudo apt-get install -y musl-tools
cargo build --release --target=x86_64-unknown-linux-musl
mv target/x86_64-unknown-linux-musl/release bin/
tar -czvf protofetch_linux_amd64.tar.gz bin/protofetch
Expand Down

0 comments on commit ed23f9c

Please sign in to comment.