Bump the maven-plugin group across 1 directory with 3 updates #61
Workflow file for this run
This file contains hidden or 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
name: CI | |
on: | |
push: | |
branches-ignore: | |
- dependabot/** | |
pull_request: | |
jobs: | |
test: | |
name: "Test on JDK ${{ matrix.java }}" | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
java: [ 21, 23 ] | |
steps: | |
- name: "Checkout" | |
uses: actions/checkout@v4 | |
- name: "Set up JDK ${{ matrix.java }}" | |
uses: actions/setup-java@v4 | |
with: | |
java-version: ${{ matrix.java }} | |
distribution: temurin | |
cache: maven | |
- name: "Set up Maven Wrapper" | |
run: mvn --errors --batch-mode --show-version org.apache.maven.plugins:maven-wrapper-plugin:3.3.2:wrapper "-Dmaven=3.9.9" | |
- name: "Build with Maven" | |
run: | | |
./mvnw clean package --batch-mode --no-transfer-progress --show-version | |
echo "artifactName=$(./mvnw help:evaluate -Dexpression=project.build.finalName -q -DforceStdout)" >> $GITHUB_ENV | |
- name: "Upload Artifacts" | |
uses: actions/upload-artifact@v4 | |
if: matrix.java == 21 | |
with: | |
name: ${{ env.artifactName }} | |
path: | | |
target/*.jar | |
!target/original-*.jar |