Skip to content

Bumping CI to Java 21 #73

Bumping CI to Java 21

Bumping CI to Java 21 #73

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: OLCUT CI (Ubuntu x86_64, Java SE 17, 21)
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
# test against supported LTS versions and latest
java: [ 17, 21 ]
name: OLCUT - Ubuntu Java SE ${{ matrix.java }}
steps:
- uses: actions/checkout@v4
- name: Setup Java Development Kits built by Oracle
uses: oracle-actions/[email protected]
with:
release: ${{ matrix.java }}
- name: Build with Maven
run: mvn -B package --file pom.xml