diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a394fe4..4130fb7 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -84,7 +84,7 @@ jobs: key: ${{ matrix.rust }} - name: Use Cross - if: matrix.os != 'windows-2022' + if: matrix.os == 'ubuntu-22.04' && matrix.target != '' run: | cargo install cross --git https://github.com/cross-rs/cross echo "CARGO=cross" >> $GITHUB_ENV