Add some whitespace to build workflow.

Let's clean this up a little bit.
This commit is contained in:
Andreas Troelsen 2022-06-25 17:19:49 +02:00
parent 8c5ae13bef
commit 6cec72ebfb
1 changed files with 5 additions and 0 deletions

View File

@ -5,22 +5,27 @@ on: push
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: 'Checkout source code'
uses: actions/checkout@v2
- name: 'Set up JDK'
uses: actions/setup-java@v2
with:
java-version: '11'
distribution: 'adopt'
- name: 'Cache dependencies'
uses: actions/cache@v2
with:
path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-m2
- name: 'Build, test, and package'
run: mvn -B package --file pom.xml
- name: 'Upload artifact'
uses: actions/upload-artifact@v2
with: