From d1db5224fdf347b1cd9fbf3ce2e343dedee83221 Mon Sep 17 00:00:00 2001 From: danielvici123 <94993276+danielvici@users.noreply.github.com> Date: Mon, 8 Jun 2026 21:51:43 +0200 Subject: [PATCH] ci: fix linker and add zip for cross-compilation --- .gitea/workflows/release.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/release.yaml b/.gitea/workflows/release.yaml index 74fa352..31a38c1 100644 --- a/.gitea/workflows/release.yaml +++ b/.gitea/workflows/release.yaml @@ -21,13 +21,15 @@ jobs: - name: Install Cross-Compilation Tools run: | sudo apt-get update - sudo apt-get install -y mingw-w64 + sudo apt-get install -y mingw-w64 zip - name: Build Linux run: cargo build --release --target x86_64-unknown-linux-gnu - name: Build Windows run: cargo build --release --target x86_64-pc-windows-gnu + env: + CARGO_TARGET_X86_64_PC_WINDOWS_GNU_LINKER: x86_64-w64-mingw32-gcc - name: Package Release Assets run: |