mirror of
https://github.com/garbagemule/MobArena.git
synced 2024-11-22 10:36:00 +01:00
Add some whitespace to build workflow.
Let's clean this up a little bit.
This commit is contained in:
parent
8c5ae13bef
commit
6cec72ebfb
5
.github/workflows/build.yml
vendored
5
.github/workflows/build.yml
vendored
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user