Update release.yaml
This commit is contained in:
parent
e1a77443c1
commit
ba7e857157
1 changed files with 13 additions and 2 deletions
15
.github/workflows/release.yaml
vendored
15
.github/workflows/release.yaml
vendored
|
@ -65,7 +65,7 @@ jobs:
|
|||
steps:
|
||||
- name: Install package for linux
|
||||
if: contains(matrix.platform.target, 'linux')
|
||||
run: sudo apt install musl-tools libunwind8 android-libunwind
|
||||
run: sudo apt install musl-tools
|
||||
|
||||
- name: Install package for Android
|
||||
if: contains(matrix.platform.target, 'android')
|
||||
|
@ -76,7 +76,7 @@ jobs:
|
|||
|
||||
# Linux & Windows
|
||||
- name: Install rust toolchain
|
||||
if: ${{ !contains(matrix.platform.target, 'apple') }}
|
||||
if: ${{ !contains(matrix.platform.target, 'apple') && !contains(matrix.platform.target, 'android') }}
|
||||
uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
# We setup Rust toolchain and the desired target
|
||||
|
@ -86,6 +86,17 @@ jobs:
|
|||
target: ${{ matrix.platform.target }}
|
||||
components: rustfmt, clippy
|
||||
|
||||
- name: Install rust toolchain
|
||||
if: ${{ !contains(matrix.platform.target, 'android') }}
|
||||
uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
# We setup Rust toolchain and the desired target
|
||||
profile: minimal
|
||||
toolchain: 1.67.0
|
||||
override: true
|
||||
target: ${{ matrix.platform.target }}
|
||||
components: rustfmt, clippy
|
||||
|
||||
- name: Build ${{ matrix.platform.name }} binary
|
||||
if: ${{ !contains(matrix.platform.target, 'apple') }}
|
||||
uses: actions-rs/cargo@v1
|
||||
|
|
Loading…
Reference in a new issue