mirror of
https://github.com/MilkBowl/VaultAPI.git
synced 2024-11-14 22:45:30 +01:00
updates to github action flow
This commit is contained in:
parent
9847396d52
commit
12d0749f0b
13
.github/workflows/maven.yml
vendored
13
.github/workflows/maven.yml
vendored
@ -20,5 +20,16 @@ jobs:
|
||||
uses: actions/setup-java@v1
|
||||
with:
|
||||
java-version: 1.8
|
||||
- name: Cache Maven packages
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: ~/.m2
|
||||
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
|
||||
restore-keys: ${{ runner.os }}-m2
|
||||
- name: Build with Maven
|
||||
run: mvn -B package --file pom.xml
|
||||
- run: mvn -B package --file pom.xml
|
||||
- run: mkdir staging && cp target/*.jar staging
|
||||
- uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: Package
|
||||
path: staging
|
||||
|
Loading…
Reference in New Issue
Block a user