diff options
author | Clement Tsang <34804052+ClementTsang@users.noreply.github.com> | 2022-06-25 22:22:30 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-25 22:22:30 -0400 |
commit | 89f7705e216c628088aab5cb00b0b6e0ad608266 (patch) | |
tree | 60249dfc08c923daa16f1f7c322198c75b39e04b /.github | |
parent | 2912859e52f8bc5762d89bc5ae7865105ed9cf43 (diff) |
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.
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/build_releases.yml | 10 |
1 files changed, 10 insertions, 0 deletions
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: |