Skip to content

New profile for 2.31 #3

New profile for 2.31

New profile for 2.31 #3

Workflow file for this run

name: Java Maven build
on:
push:
branches:
- main
jobs:
build_and_test:
name: Build Maven
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '17'
cache: 'maven'
- name: Set up a cache for Maven
uses: actions/cache@v3
with:
path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
- name: Build project with Maven
run: mvn -B package --file pom.xml