Manually Compile #4
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: Manually Compile | |
on: | |
workflow_dispatch: | |
inputs: | |
logLevel: | |
description: 'Log level' | |
required: true | |
default: 'warning' | |
type: choice | |
options: | |
- info | |
- warning | |
- debug | |
jobs: | |
build: | |
name: Maven build | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- name: Set up JDK 8 | |
uses: actions/setup-java@master | |
with: | |
distribution: 'zulu' | |
java-version: 8 | |
- name: Build with Maven | |
run: mvn package --file pom.xml | |
- name: Deploy Javadoc | |
uses: MathieuSoysal/[email protected] | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
javadoc-branche: javadoc | |
java-version: 8 | |
target-folder: javadoc | |
java-distribution: zulu |