Skip to content

[maven-release-plugin] prepare release REL-8.3.0 #280

[maven-release-plugin] prepare release REL-8.3.0

[maven-release-plugin] prepare release REL-8.3.0 #280

Workflow file for this run

name: build
on:
push:
branches: [ main, "REL-*" ]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
env:
MAVEN_OPTS: -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: 17
server-id: vpro-ossrh
server-username: SONATYPE_USERNAME
server-password: SONATYPE_PASSWORD
gpg-private-key: ${{ secrets.GPG_SECRET_KEY }}
gpg-passphrase: GPG_SECRET_KEY_PASSPHRASE
cache: maven
- name: Build with Maven
run: mvn -B -Pdeploy,ossrh -U deploy
env:
SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }}
SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}
GPG_SECRET_KEY_PASSPHRASE: ${{ secrets.GPG_SECRET_KEY_PASSPHRASE }}
#continue-on-error: true
- name: Publish to codecov
uses: codecov/codecov-action@v4
continue-on-error: true
- name: Publish Test Report
uses: EnricoMi/[email protected]
if: always()
with:
junit_files: "**/target/surefire-reports/*.xml"