chore: update `cross` to latest 0.2.x on ci
Diff
.github/workflows/devel.yml | 5 +----
.github/workflows/release.yml | 2 +-
2 files changed, 2 insertions(+), 5 deletions(-)
@@ -130,14 +130,11 @@ jobs:
- name: Use Cross
if: matrix.target != ''
run: |
cargo install cross@0.2.1
cargo install cross@^0.2
echo "CARGO_BIN=cross" >> $GITHUB_ENV
echo "TARGET_FLAGS=--target ${{ matrix.target }}" >> $GITHUB_ENV
echo "TARGET_DIR=./target/${{ matrix.target }}" >> $GITHUB_ENV
- name: Cache cargo registry and git trees
uses: Swatinem/rust-cache@v2
- name: Show command used for Cargo
run: |
echo "cargo command is: ${{ env.CARGO_BIN }}"
@@ -141,7 +141,7 @@ jobs:
- name: Use Cross
shell: bash
run: |
cargo install cross@0.2.1
cargo install cross@^0.2
echo "CARGO_BIN=cross" >> $GITHUB_ENV
echo "TARGET_FLAGS=--target ${{ matrix.target }}" >> $GITHUB_ENV
echo "TARGET_DIR=./target/${{ matrix.target }}" >> $GITHUB_ENV