Skip to content

Bump org.sonatype.plugins:nexus-staging-maven-plugin from 1.6.7 to 1.7.0 #722

Bump org.sonatype.plugins:nexus-staging-maven-plugin from 1.6.7 to 1.7.0

Bump org.sonatype.plugins:nexus-staging-maven-plugin from 1.6.7 to 1.7.0 #722

Workflow file for this run

#
# based on https://github.com/actions/setup-java
#
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
permissions:
checks: write
contents: read
strategy:
matrix:
# test against latest update of each major Java version, as well as specific updates of LTS versions:
java: [ 11, 17, 21 ]
name: Java ${{ matrix.java }}
steps:
- uses: actions/checkout@v2
- name: Cache maven artifacts
uses: actions/cache@v2
with:
path: ~/.m2
key: ${{ runner.os }}-${{ matrix.java }}-${{ hashFiles('**/pom.xml') }}
- name: Setup java
uses: actions/setup-java@v1
with:
java-version: ${{ matrix.java }}
- name: Build with Maven
run: mvn -B verify --file pom.xml
- name: Archive test results
uses: actions/upload-artifact@v3
if: failure()
with:
name: test-results
path: |
target/surefire-reports/
- name: Publish Test Report
if: ${{ always() }}
uses: scacap/action-surefire-report@v1