diff --git a/.github/workflows/build_releases.yml b/.github/workflows/build_releases.yml index b17ce8d1..3f7f8c60 100644 --- a/.github/workflows/build_releases.yml +++ b/.github/workflows/build_releases.yml @@ -132,6 +132,11 @@ jobs: with: key: ${{ matrix.info.target }} + - name: Install cross if needed + if: matrix.info.cross == true + run: | + cargo install cross --locked --version=0.2.1 + - name: Build uses: actions-rs/cargo@v1 with: @@ -273,6 +278,11 @@ jobs: - name: Enable Rust cache uses: Swatinem/rust-cache@cb2cf0cc7c5198d3364b9630e2c3d457f160790c # 1.4.0 + - name: Install cross if needed + if: matrix.info.cross == true + run: | + cargo install cross --locked --version=0.2.1 + - name: Build uses: actions-rs/cargo@v1 with: