Merge pull request #1 from Dreeam-qwq/master

Fix build
This commit is contained in:
lilingfengdev 2024-01-31 07:20:03 +08:00 committed by GitHub
commit 80a2f77da2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 10 additions and 2 deletions

View File

@ -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

View File

@ -28,6 +28,10 @@
<id>citizens-repo</id>
<url>https://maven.citizensnpcs.co/repo</url>
</repository>
<repository>
<id>nms-repo</id>
<url>https://repo.codemc.io/repository/nms/</url>
</repository>
</repositories>
<build>
<defaultGoal>clean package install</defaultGoal>