Skip to content

Add MathieuSoysal/Javadoc-publisher.yml Action (#9) #8

Add MathieuSoysal/Javadoc-publisher.yml Action (#9)

Add MathieuSoysal/Javadoc-publisher.yml Action (#9) #8

Workflow file for this run

name: Maven Package and Publish
on:
release:
types: [created]
push:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- uses: actions/checkout@v4
- name: Set up JDK 1.8
uses: actions/setup-java@v4
with:
java-version: '8'
distribution: 'temurin'
- name: Build with Maven
run: mvn -B package --file pom.xml
- name: Publish to GitHub Packages Apache Maven
run: mvn --batch-mode deploy -P github
env:
GITHUB_TOKEN: ${{ github.token }}