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