Update dependency org.apache.maven.plugins:maven-javadoc-plugin to v3… #434
This file contains 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: build | |
on: [push] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
java-version: [ 8, 11, 15 ] | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-java@v3 | |
with: | |
distribution: 'adopt' | |
java-version: ${{ matrix.java-version }} | |
- run: mvn -B install --no-transfer-progress | |
coverage: | |
needs: build | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-java@v3 | |
with: | |
distribution: 'adopt' | |
java-version: 15 | |
- run: mvn -B verify -P coverage --no-transfer-progress | |
- uses: codecov/codecov-action@v3 | |
with: | |
file: ./**/target/site/jacoco/jacoco.xml | |
name: codecov | |
publish-snapshot: | |
needs: coverage | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up settings.xml for GitHub Packages | |
uses: actions/setup-java@v3 | |
with: | |
distribution: 'adopt' | |
java-version: 15 | |
- name: Publish SNAPSHOT version to GitHub Packages (we can skip tests, since we only deploy, if the build workflow succeeded) | |
run: mvn -B --no-transfer-progress deploy -DskipTests --projects cxf-spring-boot-starter | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |