Skip to content

Update dependency org.apache.maven.plugins:maven-surefire-plugin to v3.5.2 #11

Update dependency org.apache.maven.plugins:maven-surefire-plugin to v3.5.2

Update dependency org.apache.maven.plugins:maven-surefire-plugin to v3.5.2 #11

name: Verify PRs
on:
pull_request:
branches:
- master
tags-ignore:
- '**'
paths-ignore:
- '**.md'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK 11
uses: actions/setup-java@v4
with:
java-version: '11'
distribution: 'temurin'
cache: maven
server-id: ossrh
server-username: MAVEN_USERNAME
server-password: MAVEN_PASSWORD
- name: Prepare Maven settings.xml
run: |
cat "${{ github.workspace }}/.github/settings.xml" > ~/.m2/settings.xml
- name: Build with Maven
env:
MAVEN_USERNAME: ${{ secrets.OSSRH_USER }}
MAVEN_PASSWORD: ${{ secrets.OSSRH_TOKEN }}
run: |
mvn --batch-mode --update-snapshots verify