Bump actions/setup-java from 4.0.0 to 4.2.1 #541
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 allows Github actions to build this project | |
name: Build | |
on: [push] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
java: [8, 11] | |
name: build with jdk ${{matrix.java}} | |
steps: | |
- uses: actions/checkout@v4 | |
name: checkout | |
- uses: actions/[email protected] | |
name: set up jdk ${{matrix.java}} | |
with: | |
distribution: 'temurin' | |
java-version: ${{matrix.java}} | |
cache: 'maven' | |
- name: build with maven | |
run: mvn -B verify javadoc:javadoc --file pom.xml |