Skip to content

GCToolKit build with Maven #1425

GCToolKit build with Maven

GCToolKit build with Maven #1425

Workflow file for this run

name: GCToolKit build with Maven
on:
workflow_dispatch:
schedule:
- cron: 0 0 * * *
push:
branches: [ main ]
paths-ignore:
- '**.md'
pull_request:
branches: [ main ]
paths-ignore:
- '**.md'
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
java: [11, 17, 21]
steps:
- uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2
- name: Set up JDK ${{ matrix.java }}
uses: actions/setup-java@99b8673ff64fbf99d8d325f52d9a5bdedb8483e9 # v4.2.1
with:
java-version: ${{ matrix.java }}
distribution: 'microsoft'
cache: 'maven'
- name: Build with Maven
run: ./mvnw -B verify -Dmaven.compiler.release=${{ matrix.java }} --file pom.xml