Update release.yaml
This commit is contained in:
parent
07160da869
commit
6a9c411a6f
1 changed files with 4 additions and 3 deletions
7
.github/workflows/release.yaml
vendored
7
.github/workflows/release.yaml
vendored
|
@ -75,7 +75,7 @@ jobs:
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
# Linux & Windows
|
# Linux & Windows
|
||||||
- name: Install rust toolchain
|
- name: Install rust toolchain for Linux
|
||||||
if: ${{ !contains(matrix.platform.target, 'apple') && !contains(matrix.platform.target, 'android') }}
|
if: ${{ !contains(matrix.platform.target, 'apple') && !contains(matrix.platform.target, 'android') }}
|
||||||
uses: actions-rs/toolchain@v1
|
uses: actions-rs/toolchain@v1
|
||||||
with:
|
with:
|
||||||
|
@ -86,11 +86,12 @@ jobs:
|
||||||
target: ${{ matrix.platform.target }}
|
target: ${{ matrix.platform.target }}
|
||||||
components: rustfmt, clippy
|
components: rustfmt, clippy
|
||||||
|
|
||||||
- name: Install rust toolchain
|
- name: Install rust toolchain for Android
|
||||||
if: ${{ contains(matrix.platform.target, 'android') }}
|
if: ${{ contains(matrix.platform.target, 'android') }}
|
||||||
uses: actions-rs/toolchain@v1
|
uses: actions-rs/toolchain@v1
|
||||||
with:
|
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
|
profile: minimal
|
||||||
toolchain: 1.67.0
|
toolchain: 1.67.0
|
||||||
override: true
|
override: true
|
||||||
|
|
Loading…
Reference in a new issue