From 04579339d61c523f83981e1abc006290da75b42d Mon Sep 17 00:00:00 2001 From: tommy Date: Thu, 29 Aug 2024 14:25:48 -0400 Subject: [PATCH] Let's try building for windows using the action --- .gitea/workflows/rust.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/rust.yml b/.gitea/workflows/rust.yml index 2673495..5ca20ab 100644 --- a/.gitea/workflows/rust.yml +++ b/.gitea/workflows/rust.yml @@ -17,10 +17,15 @@ jobs: toolchain: stable - name: Build release - run: cargo build --release + uses: houseabsolute/actions-rust-cross@v0 + with: + command: build + target: x86_64-pc-windows-gnu + args: "--release" + strip: true - name: Archive build uses: actions/upload-artifact@v3 with: name: alt_enter_fix - path: target/release/* + path: x86_64-pc-windows-gnu/release/alt_enter_fix.exe