Update maven.yml

This commit is contained in:
SeanOMik 2021-07-08 19:48:09 -04:00 committed by GitHub
parent f8212ff7c9
commit 34daf11e21
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 16 additions and 2 deletions

View File

@ -22,7 +22,21 @@ jobs:
with:
java-version: '16'
distribution: 'adopt'
#- name: Compile Spigot
# uses: SeanOMik/Action-SpigotMC@b23370e6a4c3e9cdd38b8d5bcd4a543f8c1e1c19
# with:
# versions: 1.14,1.15,1.16.1,1.16.3,1.16.5,1.17
# threads: -1
# remapped: remapped-mojang
- name: Compile Remapped Mojang Spigot
uses: SeanOMik/Action-SpigotMC@b23370e6a4c3e9cdd38b8d5bcd4a543f8c1e1c19
with:
versions: 1.17
threads: -1
remapped: remapped-mojang
- name: Install with Maven
run: sudo mvn -B install --file pom.xml
run: |
mvn install
- name: Build with Maven
run: sudo mvn -B package --file pom.xml
run: |
mvn package