Skip to content

Update to Java 21

Update to Java 21 #29

Workflow file for this run

name: Continuous Integration
on:
workflow_dispatch:
push:
branches:
- master
jobs:
tests:
name: Unit Tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Set Up JDK
uses: actions/setup-java@v1
with:
java-version: '21'
- name: Cache Maven Packages
uses: actions/cache@v1
with:
path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-m2
- name: Run Tests
run: mvn -B package
build:
needs: tests
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Set Up JDK
uses: actions/setup-java@v1
with:
java-version: '21'
- name: Cache Maven Packages
uses: actions/cache@v1
with:
path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-m2
- name: Build With Maven
run: mvn -B package -DskipTests