Skip to content

(chore) UIFR-224: Simplify the build GitHub Action with Matrix Strate… #66

(chore) UIFR-224: Simplify the build GitHub Action with Matrix Strate…

(chore) UIFR-224: Simplify the build GitHub Action with Matrix Strate… #66

Workflow file for this run

# this build is designed to replicate the Travis CI workflow
name: Java CI with Maven
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
java-version: [8, 11, 17]
steps:
- uses: actions/checkout@v3
- name: Set up JDK ${{ matrix.java-version }}
uses: actions/setup-java@v3
with:
java-version: ${{ matrix.java-version }}
distribution: 'adopt'
cache: maven
- name: Build with Maven
run: mvn clean install --file pom.xml