Make sure that desired gradle files are submitted with Android projects. #491
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
# This workflow will build a Java project with Maven | |
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven | |
name: Java CI with Maven | |
on: | |
push: | |
branches: | |
- main | |
- '*-SNAPSHOT' | |
pull_request: | |
# The branches below must be a subset of the branches above | |
branches: | |
- main | |
- '*-SNAPSHOT' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
java: [ '11', '17', '22' ] | |
name: JDK ${{ matrix.Java }} | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up JDK ${{ matrix.Java }} | |
uses: actions/setup-java@v4 | |
with: | |
distribution: 'temurin' | |
java-version: ${{ matrix.java }} | |
- name: Build Maven project | |
run: ./mvnw --batch-mode verify --file pom.xml | |
- name: Build Maven site | |
run: ./mvnw --batch-mode site --file pom.xml |