diff --git a/.cargo/config.toml b/.cargo/config.toml index aecf592..e69de29 100644 --- a/.cargo/config.toml +++ b/.cargo/config.toml @@ -1,2 +0,0 @@ -[build] -rustc-wrapper = "sccache" diff --git a/.gitea/workflows/rust.yml b/.gitea/workflows/rust.yml index 19f7618..3546989 100644 --- a/.gitea/workflows/rust.yml +++ b/.gitea/workflows/rust.yml @@ -17,8 +17,16 @@ jobs: steps: - uses: actions/checkout@v4 - uses: actions-rust-lang/setup-rust-toolchain@v1 + + - run: rustup target add x86_64-pc-windows-gnu + - run: cargo build --release + - run: cargo build --release --target x86_64-pc-windows-gnu - uses: actions/upload-artifact@v4 with: name: linux-release path: target/release/doc_writing_tool - - run: cargo build + + - uses: actions/upload-artifact@v4 + with: + name: windows-release + path: target/x86_64-pc-windows-gnu/release/doc_writing_tool.exe