Skip to content

Do release 1.0.0

Do release 1.0.0 #7

Workflow file for this run

name: Maven Build & Test
on: [pull_request]
permissions:
checks: write
jobs:
build-java:
name: Build
runs-on: ubuntu-latest
strategy:
matrix:
java: [ 8, 11, 17, 21 ]
distribution: [ temurin ] # We could add more here: temurin, adopt, liberica, microsoft, corretto
steps:
- uses: actions/checkout@v4
- name: Set up JDK ${{ matrix.java }} ${{ matrix.distribution }}
uses: actions/setup-java@v4
with:
java-version: ${{ matrix.java }}
distribution: ${{ matrix.distribution }}
cache: maven
gpg-private-key: ${{ secrets.MAVEN_GPG_PRIVATE_KEY }} # Value of the GPG private key to import
gpg-passphrase: MAVEN_GPG_PASSPHRASE # env variable for GPG private key passphrase
- name: Build with Maven
run: mvn --batch-mode --update-snapshots verify -Prelease
with:

Check failure on line 28 in .github/workflows/maven-build.yml

View workflow run for this annotation

GitHub Actions / Maven Build & Test

Invalid workflow file

The workflow is not valid. .github/workflows/maven-build.yml (Line: 28, Col: 9): Unexpected value 'with'
MAVEN_GPG_PASSPHRASE: ${{ secrets.MAVEN_GPG_PASSPHRASE }}
- name: Publish Test Report
uses: mikepenz/action-junit-report@v5
if: ${{ matrix.java == 8 && (success() || failure()) }} # always run even if the previous step fails
with:
report_paths: '**/target/surefire-reports/TEST-*.xml'