Skip to content

Migrated from gradleEnterprise to Develocity #1144

Migrated from gradleEnterprise to Develocity

Migrated from gradleEnterprise to Develocity #1144

Workflow file for this run

# 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:
- '**'
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
#Build with java 11
- uses: actions/checkout@v3
- name: Set up JDK 11
uses: actions/setup-java@v3
with:
java-version: '11'
distribution: 'temurin'
cache: 'maven'
- name: Build with Maven
run: mvn -B package --file pom.xml
#Build with java 17
- uses: actions/checkout@v3
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
cache: 'maven'
- name: Build with Maven
run: mvn -B package --file pom.xml