From ba7e85715751bd8382c79a0e20b8828555278fab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Er=C3=A8be=20-=20Romain=20Gerard?= Date: Fri, 3 Nov 2023 22:08:06 +0100 Subject: [PATCH] Update release.yaml --- .github/workflows/release.yaml | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 56a8e89..fc12ddb 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -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