Set version to 0.1.1 #20
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: Build | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
permissions: | |
contents: read | |
jobs: | |
build: | |
name: "Build" | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Cache local Maven repository | |
uses: actions/cache@v2 | |
with: | |
path: ~/.m2/repository | |
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} | |
restore-keys: ${{ runner.os }}-maven- | |
- name: Download Java | |
uses: sdkman/sdkman-action@master | |
id: sdkman | |
with: | |
candidate: java | |
version: 17.0.5-tem | |
- name: Set up Java | |
uses: actions/setup-java@v1 | |
with: | |
java-version: 8 | |
jdkFile: ${{ steps.sdkman.outputs.file }} | |
- name: Build with Maven | |
run: ./mvnw verify |