Skip to content

Merge pull request #17 from democat3457/patch-1 #4

Merge pull request #17 from democat3457/patch-1

Merge pull request #17 from democat3457/patch-1 #4

Workflow file for this run

name: Gradle Build/Javadoc
on:
push:
branches: ["main"]
workflow_dispatch:
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
concurrency:
group: "pages"
cancel-in-progress: false
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: write
pages: write
steps:
- uses: actions/checkout@v3
- name: Set up JDK 11
uses: actions/setup-java@v3
with:
java-version: '11'
distribution: 'temurin'
server-id: github # Value of the distributionManagement/repository/id field of the pom.xml
settings-path: ${{ github.workspace }} # location for the settings.xml file
- name: Build with Gradle
uses: gradle/gradle-build-action@bd5760595778326ba7f1441bcf7e88b49de61a25 # v2.6.0
with:
arguments: build javadoc javadocJar sourceJar
- name: Archive production artifacts
uses: actions/upload-artifact@v3
with:
name: artifacts
path: build/libs/*.jar
- name: Deploy to GitHub Pages
uses: JamesIves/[email protected]
with:
folder: build/docs/javadoc