Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
TheUnknownCod3r committed Aug 1, 2023
2 parents e0b5980 + 7c7b6ec commit 64f06ee
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 1 deletion.
34 changes: 34 additions & 0 deletions .github/workflows/maven-publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
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
2 changes: 1 addition & 1 deletion src/main/java/org/dynmap/mobs/DynmapMobsPlugin.java
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ public void init() {
new MobMapping("frog", "org.bukkit.entity.Frog", "Frog"),
new MobMapping("tadpole", "org.bukkit.entity.Tadpole", "Tadpole"),
new MobMapping("allay", "org.bukkit.entity.Allay", "Allay"),
new MobMapping("sniffer", "org.bukkit.entity.Sniffer", Sniffer")
new MobMapping("sniffer", "org.bukkit.entity.Sniffer", "Sniffer")
};

private MobMapping config_vehicles[] = {
Expand Down

0 comments on commit 64f06ee

Please sign in to comment.