Update maven.yml

This commit is contained in:
Hax 2019-11-16 22:22:32 +01:00 committed by GitHub
parent 9f9cbf5a1b
commit a14188af8a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,10 +1,9 @@
name: Java CI
name: Hadder
on: [push]
jobs:
build:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
@ -14,6 +13,12 @@ jobs:
java-version: 1.13
- name: Build with Maven
run: mvn -B package --file pom.xml
deploy:
runs-on: ubuntu-latest
needs: test
if: github.ref == 'refs/heads/master'
steps:
- name: Build Final Jar
run: mvn clean compile assembly:single
- name: Copy folder content recursively to remote