Update release.yaml

This commit is contained in:
Erèbe - Romain Gerard 2023-11-03 22:15:07 +01:00 committed by GitHub
parent 07160da869
commit 6a9c411a6f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -75,7 +75,7 @@ jobs:
uses: actions/checkout@v3
# Linux & Windows
- name: Install rust toolchain
- name: Install rust toolchain for Linux
if: ${{ !contains(matrix.platform.target, 'apple') && !contains(matrix.platform.target, 'android') }}
uses: actions-rs/toolchain@v1
with:
@ -86,11 +86,12 @@ jobs:
target: ${{ matrix.platform.target }}
components: rustfmt, clippy
- name: Install rust toolchain
- name: Install rust toolchain for Android
if: ${{ contains(matrix.platform.target, 'android') }}
uses: actions-rs/toolchain@v1
with:
# We setup Rust toolchain and the desired target
# Need new release of cross to target rust > 1.68.0
# https://github.com/cross-rs/cross/issues/1222
profile: minimal
toolchain: 1.67.0
override: true