diff --git a/.github/workflows/android-app.yml b/.github/workflows/android-app.yml index 9120bacd2aec..fd61b84ba3af 100644 --- a/.github/workflows/android-app.yml +++ b/.github/workflows/android-app.yml @@ -109,8 +109,8 @@ jobs: - name: Fix HOME path run: echo "HOME=/root" >> $GITHUB_ENV - - name: Print NDK_TOOLCHAIN_DIR - run: echo $NDK_TOOLCHAIN_DIR + - name: Print NDK_PROPERTIES + run: cat $ANDROID_NDK_HOME/source.properties - name: Get date id: get-date diff --git a/android/build-apk.sh b/android/build-apk.sh index 277504ac4489..770aa2d80622 100755 --- a/android/build-apk.sh +++ b/android/build-apk.sh @@ -18,7 +18,6 @@ BUILD_BUNDLE="no" BUNDLE_TASKS=(createPlayProdReleaseDistBundle) RUN_PLAY_PUBLISH_TASKS="no" PLAY_PUBLISH_TASKS=() -SKIP_STRIPPING=${SKIP_STRIPPING:-"no"} while [ -n "${1:-""}" ]; do if [[ "${1:-""}" == "--dev-build" ]]; then diff --git a/wireguard-go-rs/build.rs b/wireguard-go-rs/build.rs index a1b138c0d943..d4d6a73415f9 100644 --- a/wireguard-go-rs/build.rs +++ b/wireguard-go-rs/build.rs @@ -231,13 +231,14 @@ fn android_move_binary(binary: &Path, output: &Path) -> anyhow::Result<()> { ))?; std::fs::create_dir_all(parent_of_output)?; - let mut move_command = Command::new("cp"); - move_command + let mut copy_command = Command::new("cp"); + // P command is required to not rebuild this module everytime + copy_command .arg("-p") .arg(binary.to_str().unwrap()) .arg(output.to_str().unwrap()); - exec(&mut move_command)?; + exec(&mut copy_command)?; Ok(()) }