Android: prefer CharArray over String #38
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
push: | |
paths: | |
- "android/**" | |
- ".github/workflows/android.yaml" | |
branches: [ "main" ] | |
pull_request: | |
paths: | |
- "android/**" | |
- ".github/workflows/android.yaml" | |
branches: [ "main" ] | |
name: Android | |
jobs: | |
build: | |
name: Debug build | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout sources | |
uses: actions/checkout@v3 | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v3 | |
with: | |
java-version: "17" | |
distribution: "corretto" | |
cache: gradle | |
- name: Install dependencies | |
run: sudo apt-get install -y tree | |
- name: Build app (debug) with Gradle | |
working-directory: android | |
run: ./gradlew :app:assembleDebug | |
- name: Build lib release and publish locally | |
working-directory: android | |
run: ./scripts/01_publish_local.sh | |
- name: Publish the local Maven repository | |
uses: actions/upload-artifact@v3 | |
with: | |
name: maven-repository | |
path: | | |
android/maven/* | |
!android/maven/.gitignore |