diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml index 14f8d80..7eb54a7 100644 --- a/.github/workflows/android.yml +++ b/.github/workflows/android.yml @@ -1,6 +1,18 @@ name: Android CI -on: [push, pull_request] +on: + push: + paths: + - "**.gradle" + - "**.rs" + - "**/Cargo.toml" + - ".github/workflows/**" + pull_request: + paths: + - "**.gradle" + - "**.rs" + - "**/Cargo.toml" + - ".github/workflows/**" jobs: build: diff --git a/README.md b/README.md index 503adc3..caefd82 100644 --- a/README.md +++ b/README.md @@ -38,7 +38,7 @@ rustup target add x86_64-linux-android # for x86_64 ### 3. Build Project with Gradle -Use Rust-Android-Gradle: https://github.com/mozilla/rust-android-gradle +Gradle build script support by: Rust-Android-Gradle: https://github.com/mozilla/rust-android-gradle **Windows**: @@ -48,6 +48,8 @@ Use Rust-Android-Gradle: https://github.com/mozilla/rust-android-gradle `./gradlew :module:zipRelease` +And then, artifact will put in `out` + ## Problem ### HardCoding