From 09e6f66d8d35139350b0b442b1e3696a41560381 Mon Sep 17 00:00:00 2001 From: desbma-s1n Date: Wed, 3 Apr 2024 17:43:34 +0200 Subject: [PATCH] feat: build deb with glibc --- .github/workflows/release.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) 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 }}