Skip to content

Merge pull request #164 from freefair/dependabot/gradle/com.gradle.pl… #364

Merge pull request #164 from freefair/dependabot/gradle/com.gradle.pl…

Merge pull request #164 from freefair/dependabot/gradle/com.gradle.pl… #364

Workflow file for this run

# This workflow will build a Java project with Gradle
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-gradle
name: Java CI with Gradle
on:
- push
- pull_request
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
steps:
- uses: actions/checkout@v2
- name: Set up JDK ${{ matrix.java }}
uses: actions/setup-java@v3
with:
java-version: 11
distribution: 'temurin'
- name: Setup Gradle
uses: gradle/gradle-build-action@v2
- run: ./gradlew -V assemble
- run: ./gradlew -V build
build-examples:
name: Build example projects
runs-on: ubuntu-latest
strategy:
fail-fast: false
defaults:
run:
working-directory: examples
steps:
- uses: actions/checkout@v2
- name: Set up JDK 11
uses: actions/setup-java@v2
with:
java-version: 11
distribution: 'temurin'
- name: Setup Gradle
uses: gradle/gradle-build-action@v2
- run: ./gradlew -V assemble -s
- run: ./gradlew -V check -s