diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml
index 6ba8a5f57..dd1bd52ff 100644
--- a/.github/workflows/maven.yml
+++ b/.github/workflows/maven.yml
@@ -28,10 +28,14 @@ jobs:
distribution: 'temurin'
cache: maven
- name: Build with Maven
- run: mvn compile & mvn package
+ run: mvn clean package -Pfull
# Optional: Uploads the full dependency graph to GitHub to improve the quality of Dependabot alerts this repository can receive
- name: Update dependency graph
uses: advanced-security/maven-dependency-submission-action@571e99aab1055c2e71a1e2309b9691de18d6b7d6
- run: mkdir staging && cp target/*.jar staging
- - uses: actions/upload-artifact@v3
+ - name: Upload Citizens2-CN
+ uses: actions/upload-artifact@main
+ with:
+ name: Citizens2-CN
+ path: dist/target/*.jar
diff --git a/pom.xml b/pom.xml
index ddd473b47..6fc1d59ed 100644
--- a/pom.xml
+++ b/pom.xml
@@ -28,6 +28,10 @@
citizens-repo
https://maven.citizensnpcs.co/repo
+
+ nms-repo
+ https://repo.codemc.io/repository/nms/
+
clean package install