From 8bb75206265582bf4e57e47d3fcb2f24695df30f Mon Sep 17 00:00:00 2001 From: raoulvdberge Date: Wed, 22 Jun 2022 22:06:52 +0200 Subject: [PATCH] Publish to CreeperHost maven --- .github/workflows/release.yml | 2 ++ build.gradle | 8 ++++++++ 2 files changed, 10 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e99a1cfd6..68233221e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -43,6 +43,8 @@ jobs: run: ./gradlew publish env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + CREEPERHOST_MAVEN_USERNAME: ${{ secrets.CREEPERHOST_MAVEN_USERNAME }} + CREEPERHOST_MAVEN_TOKEN: ${{ secrets.CREEPERHOST_MAVEN_TOKEN }} RELEASE: ${{ steps.tagName.outputs.tag }} - name: Retrieve changelog id: changelog_reader diff --git a/build.gradle b/build.gradle index 591f4dfea..6906636b6 100644 --- a/build.gradle +++ b/build.gradle @@ -62,6 +62,14 @@ subprojects { password = System.getenv("GITHUB_TOKEN") } } + maven { + name = "CreeperHost" + url = uri("https://maven.creeperhost.net/release") + credentials { + username = System.getenv("CREEPERHOST_MAVEN_USERNAME") + password = System.getenv("CREEPERHOST_MAVEN_TOKEN") + } + } } publications { gpr(MavenPublication) {