NO-JIRA: use install on examples build otherwise it needs to download remote snapshot during javadoc build, which may not exist and so fails

This commit is contained in:
Robbie Gemmell 2022-01-20 14:59:03 +00:00
parent f7bb4c754a
commit e8074f713b
1 changed files with 2 additions and 2 deletions

View File

@ -79,13 +79,13 @@ jobs:
if: matrix.java == '11'
run: |
cd examples
mvn -s ../.github/maven-settings.xml verify -Prelease
mvn -s ../.github/maven-settings.xml install -Prelease
- name: Build Examples (JDK >11 / -Pexamples,noRun)
if: matrix.java != '11'
run: |
cd examples
mvn -s ../.github/maven-settings.xml verify -Pexamples,noRun
mvn -s ../.github/maven-settings.xml install -Pexamples,noRun
- name: Javadoc Check (JDK11 / -Prelease)
if: matrix.java == '11'