Skip to content

🔖 version 4.13.0 #822

🔖 version 4.13.0

🔖 version 4.13.0 #822

Workflow file for this run

name: Tests
on:
- push
jobs:
build:
name: Build
runs-on: ubuntu-latest
strategy:
matrix:
java-version:
- "11"
- "8"
distribution:
- "temurin"
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
# We need the GPG key to sign the package.
- id: install-secret-key
name: Install GPG secret key
run: |
cat <(echo -e "${{ secrets.OSSRH_GPG_SECRET_KEY }}") | gpg --batch --import
gpg --list-secret-keys --keyid-format LONG
- name: Set up JDK ${{ matrix.java-version }}
uses: actions/setup-java@v4
with:
java-version: ${{ matrix.java-version }}
distribution: ${{ matrix.distribution }}
cache: "maven"
# We build in "release" mode to test the documentation.
- name: Verify with Maven
run: |
mvn --update-snapshots --no-transfer-progress \
-Dgpg.passphrase=${{ secrets.OSSRH_GPG_SECRET_KEY_PASSWORD }} \
verify -P release