Skip to content

Build Introduction to Coding Samples #22

Build Introduction to Coding Samples

Build Introduction to Coding Samples #22

Workflow file for this run

name: Build Introduction to Coding Samples
on:
push:
pull_request:
schedule:
- cron: '0 19 * * 6'
jobs:
build:
name: Maven Build JDK ${{ matrix.java }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
java: [ '21', '22', '25' ]
steps:
- name: Checkout
uses: actions/checkout@v5
with:
fetch-depth: 0
- name: Set up JDK
uses: actions/setup-java@v5
with:
distribution: temurin
java-version: ${{ matrix.java }}
cache: maven
- name: Maven Build JDK ${{ matrix.java }}
run: mvn -B package -DskipTests
- name: Maven Test JDK ${{ matrix.java }}
run: mvn -B test