diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml index 0adb37e..5878217 100644 --- a/.github/workflows/android.yml +++ b/.github/workflows/android.yml @@ -30,6 +30,8 @@ jobs: id: ndk with: ndk-version: r26d + link-to-sdk: true + local-cache: true - name: Setup Rust uses: actions-rs/toolchain@v1 @@ -45,10 +47,8 @@ jobs: - name: Add Rust Android targets run: rustup target add aarch64-linux-android armv7-linux-androideabi i686-linux-android x86_64-linux-android - - name: Install Cargo Mobile CLI & init - env: - NDK_HOME: ${{ steps.ndk.outputs.ndk-path }} - run: cargo install --git https://github.com/tauri-apps/cargo-mobile2 && cargo mobile init + - name: Install Cargo Mobile CLI + run: cargo install --git https://github.com/tauri-apps/cargo-mobile2 - name: Install Bun uses: oven-sh/setup-bun@v1