Merged web-eid-spring-boot-example into the web-eid-authtoken-validation-java repository #616
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: Maven build | |
on: [ push, pull_request ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-java@v3 | |
with: | |
distribution: zulu | |
java-version: 11 | |
- name: Cache Maven packages | |
uses: actions/cache@v3 | |
with: | |
path: ~/.m2 | |
key: ${{ runner.os }}-m2-v8-${{ hashFiles('**/pom.xml') }} | |
restore-keys: ${{ runner.os }}-m2-v8 | |
- name: Build | |
run: mvn --batch-mode compile | |
- name: Test and package | |
run: mvn --batch-mode package | |