From 4a69e58318cb5bdf08e823d464c750a39cc6a14f Mon Sep 17 00:00:00 2001 From: tommy Date: Mon, 26 Aug 2024 08:55:57 -0400 Subject: [PATCH] i have no idea how this stuff works, hopefully it works --- .gitea/workflows/rust.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/rust.yml b/.gitea/workflows/rust.yml index a37082b..6182d08 100644 --- a/.gitea/workflows/rust.yml +++ b/.gitea/workflows/rust.yml @@ -6,16 +6,19 @@ on: jobs: build: - runs-on: windows-latest + runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 + - name: Add windows target + run: rustup target add x86_64-pc-windows-gnu + - name: Build release uses: actions-rs/cargo@v1 with: command: build - args: --release + args: --release --target x86_64-pc-windows-gnu - name: Archive build uses: actions/upload-artifact@v4