9
0
mirror of https://github.com/BX-Team/DivineMC.git synced 2025-12-30 20:29:10 +00:00

add api publishing

This commit is contained in:
NONPLAYT
2024-05-14 17:56:44 +03:00
parent ca42ddcfe0
commit 3ec09405c4
4 changed files with 132 additions and 15 deletions

View File

@@ -19,7 +19,7 @@ jobs:
- name: Setup Gradle
uses: gradle/gradle-build-action@v2
- name: Setup JDK 17
- name: Setup JDK 21
uses: actions/setup-java@v3
with:
distribution: temurin
@@ -41,6 +41,10 @@ jobs:
- name: Create Mojmap Jar
run: ./gradlew createMojmapPaperclipJar --stacktrace
- name: Publish API
continue-on-error: true
run: ./gradlew publish -PdivinemcUsername=${{ secrets.REPO_USERNAME }} -PdivinemcPassword=${{ secrets.REPO_SECRET }}
- name: Upload Artifacts
if: env.debug == 'true' || github.ref_name != env.branch
uses: actions/upload-artifact@main