From d1dc7cb2602e0a7907a4ae671a236ad5f1d3660b Mon Sep 17 00:00:00 2001
From: Dreeam <61569423+Dreeam-qwq@users.noreply.github.com>
Date: Tue, 30 Jan 2024 10:30:45 -0500
Subject: [PATCH] Fix build
---
.github/workflows/maven.yml | 8 ++++++--
pom.xml | 4 ++++
2 files changed, 10 insertions(+), 2 deletions(-)
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