diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b7c1b9b56..ca2e62fa6 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -60,17 +60,18 @@ jobs: toolchain: "1.76" components: "clippy,rustfmt" - - name: Check out cargo-wasix - uses: actions/checkout@v3 + - name: Download wasix toolchain + uses: dsaltares/fetch-gh-release-asset with: - repository: wasix-org/cargo-wasix - ref: main - path: cargo-wasix + repo: wasix-org/rust + file: rust-toolchain-x86_64-unknown-linux-gnu.tar.gz + path: rust-toolchain - name: Install wasix toolchain run: | - cd cargo-wasix - cargo run -- wasix download-toolchain + cd rust-toolchain + tar xzf rust-toolchain-x86_64-unknown-linux-gnu.tar.gz + rustup toolchain link wasix . - name: Download wasix-libc uses: actions/download-artifact@v3