diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 4660b99..9ed4b56 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -30,7 +30,7 @@ jobs: with: targets: wasm32-unknown-unknown - - run: just build + - run: just build-wits - name: upload artifacts to target uses: actions/upload-artifact@v4 @@ -215,23 +215,6 @@ jobs: rustup target add ${{ matrix.TARGET }} rustup default stable-${{ matrix.TARGET }} - # Use Just commands - - uses: extractions/setup-just@v2 - - # binstall is faster than cargo install - - name: Install binstall - uses: taiki-e/install-action@cargo-binstall - - # We'l need cargo-component to build WIT Components in the Just commands - - name: Install cargo-component - run: echo yes | cargo binstall cargo-component - - - name: Rust Cache # cache the rust build artefacts - uses: Swatinem/rust-cache@v2 - - - name: Pre-Build using Just - run: just build-wits - # For linux, it's necessary to use cross from the git repository to avoid glibc problems # Ref: https://github.com/cross-rs/cross/issues/1510 - name: Install cross for linux