diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0a75ae1..a2eddfa 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -25,6 +25,8 @@ jobs: steps: - uses: actions/checkout@v2 - uses: goto-bus-stop/setup-zig@v2 + with: + version: 0.11.0 - uses: actions-rs/toolchain@v1 with: profile: minimal @@ -34,8 +36,8 @@ jobs: run: | git submodule update --init --recursive sudo apt-get install gcc-aarch64-linux-gnu - cargo install cargo-zigbuild rustup target add aarch64-unknown-linux-gnu + cargo install cargo-zigbuild --version 0.18.0 cargo zigbuild --release --target aarch64-unknown-linux-gnu - name: Upload uses: actions/upload-artifact@v2 @@ -67,6 +69,8 @@ jobs: steps: - uses: actions/checkout@v2 - uses: goto-bus-stop/setup-zig@v2 + with: + version: 0.11.0 - uses: actions-rs/toolchain@v1 with: profile: minimal @@ -75,7 +79,7 @@ jobs: - name: Build run: | git submodule update --init --recursive - cargo install cargo-zigbuild + cargo install cargo-zigbuild --version 0.18.0 rustup target add aarch64-apple-darwin cargo zigbuild --release --target aarch64-apple-darwin - name: Upload @@ -85,7 +89,7 @@ jobs: path: target/aarch64-apple-darwin/release/languagetool-code-comments windows-amd: - runs-on: windows-latest + runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - uses: actions-rs/toolchain@v1 @@ -96,7 +100,9 @@ jobs: - name: Build run: | git submodule update --init --recursive - cargo build --release --target x86_64-pc-windows-msvc + rustup target add x86_64-pc-windows-msvc + cargo install cargo-xwin --version 0.16.0 + cargo xwin build --release --target x86_64-pc-windows-msvc --xwin-arch x86_64 - name: Upload uses: actions/upload-artifact@v2 with: diff --git a/rust-toolchain.toml b/rust-toolchain.toml index 8d4eb3b..33f37a5 100644 --- a/rust-toolchain.toml +++ b/rust-toolchain.toml @@ -1,3 +1,3 @@ [toolchain] -channel = "1.73.0" +channel = "1.74.0" components = ["rustfmt", "clippy", "llvm-tools-preview"]