From 52cd33deffa86b45fca366d09b0006fc73c49b13 Mon Sep 17 00:00:00 2001 From: Eclipse Date: Thu, 16 Oct 2025 09:57:29 +0000 Subject: [PATCH] Export core to rainbow-core.jar, setup publishing in actions --- .github/workflows/build.yml | 7 +++++++ rainbow/gradle.properties | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 41fae6e..d98b79d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -33,6 +33,13 @@ jobs: env: BUILD_NUMBER: ${{ steps.release-info.outputs.curentRelease }} + - name: Publish to Maven Repository + if: ${{ success() && github.repository == 'GeyserMC/Rainbow' && github.ref_name == 'master' }} + run: ./gradlew publish + env: + ORG_GRADLE_PROJECT_geysermcUsername: ${{ vars.DEPLOY_USER }} + ORG_GRADLE_PROJECT_geysermcPassword: ${{ secrets.DEPLOY_PASS }} + - name: Archive Artifacts uses: GeyserMC/actions/upload-multi-artifact@master if: success() diff --git a/rainbow/gradle.properties b/rainbow/gradle.properties index 19ae406..048092a 100644 --- a/rainbow/gradle.properties +++ b/rainbow/gradle.properties @@ -1 +1 @@ -archives_base_name=rainbow +archives_base_name=rainbow-core