Skip to content

Merge branch 'master' of https://github.com/TheUnknownCod3r/dynmap-mobs #4

Merge branch 'master' of https://github.com/TheUnknownCod3r/dynmap-mobs

Merge branch 'master' of https://github.com/TheUnknownCod3r/dynmap-mobs #4

Workflow file for this run

name: Maven CI/CD
on:
push:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDK 14
uses: actions/setup-java@v1
with:
java-version: 14
- name: Build project with Maven
run: mvn -B package --file pom.xml
publish-job:
runs-on: ubuntu-latest
needs: [build]
steps:
- uses: actions/checkout@v2
- uses: actions/setup-java@v1
with:
java-version: 14
- run: mvn -B package --file pom.xml -DskipTests
- run: mkdir staging && cp target/*.jar staging
- uses: actions/upload-artifact@v1
with:
name: Package
path: staging