From a142e7de85e21f60bd094584aafb5e3f7ca6c8b0 Mon Sep 17 00:00:00 2001 From: volker Date: Tue, 6 Feb 2024 15:35:39 +0100 Subject: [PATCH] Build musl target --- .github/workflows/rust.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index d2e213a..75e0722 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -33,13 +33,18 @@ jobs: override: true - name: Add musl target - run: rustup target add x86_64-unknown-linux-musl + run: | + rustup target add x86_64-unknown-linux-musl - name: Build Binary uses: actions-rs/cargo@v1 with: command: build - args: --release + args: --release --target x86_64-unknown-linux-musl + + - name: ls + run: ls target + - name: Archive binary uses: actions/upload-artifact@v4 with: