build(deps): Bump org.apache.maven.plugins:maven-project-info-reports-plugin from 3.8.0 to 3.9.0 #554
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 workflow will build a Java project with Maven | |
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven | |
# Also save the resulting binary as an "artifact". | |
# How do I download an action artifact from GitHub? | |
# * On GitHub, navigate to the main page of the repository. | |
# * Under your repository name, click Actions. | |
# * In the left sidebar, click the workflow you want to see. | |
# * From the list of workflow runs, click the name of the run you want to see. | |
# * Under Artifacts, click the artifact you want to download. | |
# | |
# Geht zwar, artifacts kann aber nicht jeder runterladen, | |
# ist also kein release ersatz. | |
name: Java CI with Maven | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
permissions: | |
contents: read | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
java: [ '8', '17', '23' ] | |
name: Java ${{ matrix.Java }} CI | |
steps: | |
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
- name: Set up JDK ${{ matrix.Java }} | |
uses: actions/setup-java@7a6d8a8234af8eb26422e24e3006232cccaa061b # v4.6.0 | |
with: | |
java-version: ${{ matrix.java }} | |
distribution: 'zulu' | |
- name: Cache Maven packages | |
uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0 | |
with: | |
path: ~/.m2/repository | |
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} | |
restore-keys: | | |
${{ runner.os }}-maven- | |
- name: Build with Maven | |
run: mvn -B clean package --file pom.xml -Djavac.target=`echo "${{ matrix.java }}" | sed -e "s/-ea//g"` |