Skip to content

Commit

Permalink
fix: add cargo ndk version specification
Browse files Browse the repository at this point in the history
  • Loading branch information
Kingtous committed May 25, 2023
1 parent b6bb8c6 commit 6af72ed
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/flutter-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ on:
default: true

env:
CARGO_NDK_VERSION: "3.1.2"
LLVM_VERSION: "15.0.6"
FLUTTER_VERSION: "3.10.1"
FLUTTER_RUST_BRIDGE_VERSION: "1.75.3"
Expand Down Expand Up @@ -535,7 +536,7 @@ jobs:
VCPKG_ROOT: /opt/rustdesk_thirdparty_lib/vcpkg
run: |
rustup target add ${{ matrix.job.target }}
cargo install cargo-ndk --version 3.1.2
cargo install cargo-ndk --version ${{ env.CARGO_NDK_VERSION }}
case ${{ matrix.job.target }} in
aarch64-linux-android)
./flutter/ndk_arm64.sh
Expand Down

0 comments on commit 6af72ed

Please sign in to comment.