Platform current #40
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
# Release with JReleaser | |
# https://jreleaser.org/guide/latest/continuous-integration/github-actions.html | |
name: Build and test with Java CI, Maven, and JReleaser | |
on: | |
workflow_dispatch: | |
push: | |
pull_request: | |
jobs: | |
release: | |
name: Build and test | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
# Setup the Java version | |
- name: Setup Java | |
uses: actions/setup-java@v2 | |
with: | |
java-version: 17 | |
distribution: 'zulu' | |
# Build and run tests | |
- name: Maven package | |
run: | | |
mvn -ntp -B package |