Skip to content

Extends

Extends #640

Workflow file for this run

name: Android Sample
on:
push:
branches:
- master
pull_request:
branches:
- master
workflow_dispatch:
jobs:
buildTest:
name: Build JDK ${{ matrix.java_version }}
runs-on: ubuntu-latest
strategy:
matrix:
java_version: [8]
steps:
- name: Setup Maven Action
uses: s4u/[email protected]
with:
checkout-fetch-depth: 0
java-version: ${{ matrix.java_version }}
java-distribution: temurin
maven-version: 3.8.7
- name: Install Android SDK
uses: malinskiy/action-android/install-sdk@release/0.1.1
- name: Install latest jsonschema2pojo SNAPSHOT
run: mvn -U -B install -DskipTests -Dmaven.javadoc.skip -Dmaven.site.skip
- name: Build projects
run: cd jsonschema2pojo-gradle-plugin/example/android && ./gradlew --info assembleDebug