From 125c8df527ec1354894a703d18c8da079ffb7364 Mon Sep 17 00:00:00 2001 From: Karcsesz Date: Mon, 18 Mar 2024 01:38:54 +0100 Subject: [PATCH] Don't forget MUSL tools which will definitely also completely explode when cross-compiling --- .forgejo/workflows/release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.forgejo/workflows/release.yml b/.forgejo/workflows/release.yml index 764f48e..c30524b 100644 --- a/.forgejo/workflows/release.yml +++ b/.forgejo/workflows/release.yml @@ -29,9 +29,9 @@ jobs: - uses: actions/rust-toolchain@stable with: targets: "x86_64-unknown-linux-musl,aarch64-unknown-linux-musl" + - run: apt-get update && apt-get install musl-tools - run: cargo build --release --target x86_64-unknown-linux-musl - - run: cargo build --release --target aarch64-unknown-linux-musl - - run: mkdir _release && mv target/x86_64-unknown-linux-musl/release/fingerlink _release/fingerlink-x86_64 && mv target/aarch64-unknown-linux-musl/release/fingerlink-arm64 + - run: mkdir _release && mv target/x86_64-unknown-linux-musl/release/fingerlink _release/fingerlink - uses: actions/forgejo-release@v1 with: direction: upload