From 9e571b691d58038a63cc603475100d139ba8c6ed Mon Sep 17 00:00:00 2001 From: Gstalker Date: Sat, 19 Mar 2022 17:09:28 +0800 Subject: [PATCH] feat: update readme.md and CI file --- .github/workflows/android.yml | 14 +++++++++++++- README.md | 4 +++- 2 files changed, 16 insertions(+), 2 deletions(-) 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