Skip to content

Bumping versions

Bumping versions #71

Workflow file for this run

name: Java CI
on:
push:
branches:
- develop
pull_request:
branches:
- develop
jobs:
build:
name: ${{ matrix.version }} on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
version: [17]
os: [macos-latest, windows-latest, ubuntu-latest]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Cache JVM
id: cache-java
uses: actions/cache@v4
with:
path: |
${{ runner.temp }}/java_package.tar.gz
~/.m2/repository
key: ${{ runner.os }}-java-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-java-
- name: Setup Java
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: ${{ matrix.version }}
- name: Run tests (UNIX)
run: ./mvnw clean verify
if: runner.os != 'Windows'
- name: Run tests (Windows)
run: .\mvnw.cmd clean verify
if: runner.os == 'Windows'