Update build plugins. #84
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
# This workflow builds the project with Maven | |
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven | |
name: build | |
on: [push,pull_request_target,workflow_dispatch] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code base | |
# https://github.com/actions/checkout | |
uses: actions/[email protected] | |
with: | |
fetch-depth: 0 | |
- name: Set up JDK 11 | |
# https://github.com/actions/setup-java | |
uses: actions/setup-java@v2 | |
with: | |
cache: 'maven' | |
check-latest: true | |
distribution: 'adopt' | |
java-version: 11 | |
- name: Verify artifacts | |
run: mvn -B clean verify |