Skip to content

Bump org.junit.jupiter:junit-jupiter from 5.11.0-M1 to 5.11.0-M2 (#223) #1017

Bump org.junit.jupiter:junit-jupiter from 5.11.0-M1 to 5.11.0-M2 (#223)

Bump org.junit.jupiter:junit-jupiter from 5.11.0-M1 to 5.11.0-M2 (#223) #1017

Workflow file for this run

---
name: Maven
on:
push:
pull_request:
schedule:
- cron: '0 0 * * 0'
workflow_dispatch:
permissions: {}
env:
MAVEN_OPTS: >
-Dhttps.protocols=TLSv1.2
-Dmaven.repo.local=.m2/repository
-Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=WARN
-Dorg.slf4j.simpleLogger.showDateTime=true
-Djava.awt.headless=true
MAVEN_CLI_OPTS: >
--batch-mode
--errors
--fail-at-end
--show-version
-DinstallAtEnd=true
-DdeployAtEnd=true
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
java: [11, 17, 19]
name: Java ${{ matrix.java }}
steps:
- name: Set REPOSITORY
run: echo "REPOSITORY=${GITHUB_REPOSITORY#*/}" >> "${GITHUB_ENV}"
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
- name: Set up JDK ${{ matrix.java }}
uses: actions/setup-java@99b8673ff64fbf99d8d325f52d9a5bdedb8483e9 # v4.2.1
with:
distribution: temurin
java-version: ${{ matrix.java }}
- name: Build with Maven
run: |
# shellcheck disable=SC2086
./mvnw ${MAVEN_CLI_OPTS} -DdependencyCheck.skip=true verify
- name: Upload artifacts
if: ${{ matrix.java == 11 }}
uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3
with:
name: ${{ env.REPOSITORY }}
path: target/
- name: Clean up
run: rm "${HOME}/.m2/settings.xml"