Skip to content

Initial commit

Initial commit #40

Workflow file for this run

on:
push:
jobs:
maven:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
issues: read
checks: write
pull-requests: write
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
java-version: 21
distribution: temurin
cache: maven
- run: mvn --version
- run: |
mvn $([ "$ACTIONS_RUNNER_DEBUG" = "true" ] && echo --debug) --batch-mode --strict-checksums --threads=2C \
-DaltDeploymentRepository=github::https://maven.pkg.github.com/${{ github.repository }} -DdeployAtEnd \
verify site:3.21.0:site source:jar-no-fork javadoc:jar artifact:buildinfo deploy:3.1.3:deploy
env:
GITHUB_TOKEN: ${{ github.token }}
- uses: actions/upload-pages-artifact@v3
with:
path: target/site/
- uses: EnricoMi/publish-unit-test-result-action@v2
if: always()
with:
files: target/*-reports/TEST-*.xml
deploy-site:
needs: maven
runs-on: ubuntu-latest
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- id: deployment
uses: actions/deploy-pages@v4