Skip to content

chore: replace nexus-staging-maven-plugin with central-publishing-mav… #17

chore: replace nexus-staging-maven-plugin with central-publishing-mav…

chore: replace nexus-staging-maven-plugin with central-publishing-mav… #17

Workflow file for this run

name: Maven Test
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
distribution: [ "temurin", "corretto" ]
java: [ "21", "25" ]
name: Testing with Java ${{ matrix.java }} (${{ matrix.distribution }})
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Set up JDK
uses: actions/setup-java@be666c2fcd27ec809703dec50e508c2fdc7f6654 # v5.2.0
with:
distribution: ${{ matrix.distribution }}
java-version: ${{ matrix.java }}
cache: "maven"
- name: Test with Maven
run: ./mvnw -B test