✨ add ocr demo product #819
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |