diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9c4c00b..18f370a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -20,12 +20,14 @@ jobs: with: profile: minimal toolchain: stable - target: x86_64-unknown-linux-musl + target: x86_64-unknown-linux-gnu - uses: taiki-e/install-action@v2 with: tool: cargo-deb - - run: cargo deb --target x86_64-unknown-linux-musl + - run: cargo deb --target x86_64-unknown-linux-gnu + env: + RUSTFLAGS: "-C target-feature=+crt-static" - uses: softprops/action-gh-release@v1 with: - files: target/x86_64-unknown-linux-musl/debian/shh_*.deb + files: target/x86_64-unknown-linux-gnu/debian/shh_*.deb token: ${{ secrets.GITHUB_TOKEN }}