Skip to content

Migrate Logcat page #13

Migrate Logcat page

Migrate Logcat page #13

Workflow file for this run

name: Test App
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
build_and_test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Java
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '17'
- name: Setup Android environment
uses: android-actions/setup-android@v3
- name: Decode Keystore
uses: timheuer/[email protected]
id: android_keystore
with:
fileName: "android_keystore.jks"
encodedString: ${{ secrets.KEYSTORE_BASE64 }}
- name: Build APK
run: |
chmod 755 gradlew
./gradlew clean assembleRelease \
-Pandroid.injected.signing.store.file=${{ steps.android_keystore.outputs.filePath }} \
-Pandroid.injected.signing.store.password=${{ secrets.KEYSTORE_PASSWORD }} \
-Pandroid.injected.signing.key.alias=${{ secrets.KEY_ALIAS }} \
-Pandroid.injected.signing.key.password=${{ secrets.KEY_PASSWORD }}
- name: Run Unit Tests
run: ./gradlew test
- name: Run Lint
run: ./gradlew lint