From 6cec72ebfbdf418bdc603c0d427b47b98a5947f2 Mon Sep 17 00:00:00 2001 From: Andreas Troelsen Date: Sat, 25 Jun 2022 17:19:49 +0200 Subject: [PATCH] Add some whitespace to build workflow. Let's clean this up a little bit. --- .github/workflows/build.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index efc305c..0448037 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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: