feat: Android release structure to maven central #190
Workflow file for this run
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
name: Unit Test | |
on: | |
pull_request: | |
branches: [main] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- uses: actions/setup-java@v3 | |
with: | |
distribution: temurin | |
java-version: 18 | |
- name: Setup Gradle | |
uses: gradle/gradle-build-action@v2 | |
- name: Run build with Gradle Wrapper | |
run: ./gradlew build | |
# Execute unit tests | |
- name: Unit Test | |
run: ./gradlew testDebugUnitTest | |
- name: Android Test Report | |
uses: asadmansr/[email protected] | |
if: ${{ always() }} # IMPORTANT: run Android Test Report regardless |