From 89f7705e216c628088aab5cb00b0b6e0ad608266 Mon Sep 17 00:00:00 2001 From: Clement Tsang <34804052+ClementTsang@users.noreply.github.com> Date: Sat, 25 Jun 2022 22:22:30 -0400 Subject: [PATCH] deployment: force usage of cross 0.2.1 for now (#755) Locks cross in deployment builds to 0.2.1, as 0.2.2 seems to break some things for now. --- .github/workflows/build_releases.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) 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: