Update DynmapMobsPlugin.java #2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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-with-dependencies.jar staging | |
- uses: actions/upload-artifact@v1 | |
with: | |
name: Package | |
path: staging |