Enabling Maven builds for push and pull requests on Ubuntu in the GitHub cloud

This commit is contained in:
Svante Schubert
2022-11-25 12:48:24 +01:00
parent 48f0a923ee
commit fb7dd3c931

View File

@@ -17,6 +17,6 @@ jobs:
with: with:
distribution: 'adopt' # for latest JDKs use temurin https://blog.adoptopenjdk.net/2021/08/goodbye-adoptopenjdk-hello-adoptium/ distribution: 'adopt' # for latest JDKs use temurin https://blog.adoptopenjdk.net/2021/08/goodbye-adoptopenjdk-hello-adoptium/
java-version: '8' java-version: '8'
cache: 'maven' cache: 'maven' #cache/restore any dependencies to improve the workflow execution time
- name: Build with Maven - name: Build with Maven
run: mvn -B package --file pom.xml run: mvn -B package --file pom.xml