Bumping CI to Java 21. (#68) #74
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 (macOS x86_64, Java SE 17, 21) | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
build: | |
runs-on: macos-latest | |
strategy: | |
matrix: | |
# test against supported LTS versions and latest | |
java: [ 17, 21 ] | |
name: OLCUT - macOS 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 |