Skip to content

Commit

Permalink
Fix Linux binary to work with various Linux distros (#42)
Browse files Browse the repository at this point in the history
  • Loading branch information
xBATx authored Dec 20, 2022
1 parent 2b6aecc commit 2d20307
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,10 @@ jobs:

- name: Build for release linux
run: |
cargo build --release
mv target/release bin/
rustup target add x86_64-unknown-linux-musl
apt-get install 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
- name: Upload release
Expand Down

0 comments on commit 2d20307

Please sign in to comment.