From fa30b432a934d7c5f197c7b5fb9d52ae4600fa2e Mon Sep 17 00:00:00 2001 From: Jeremy Wood Date: Fri, 15 Nov 2024 23:19:53 -0500 Subject: [PATCH] Publish to new repo using temp url. --- .github/workflows/generic.github_release.yml | 7 ++++++- build.gradle | 10 ++++++++++ 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/.github/workflows/generic.github_release.yml b/.github/workflows/generic.github_release.yml index e901a8fcc..c2af1f1fb 100644 --- a/.github/workflows/generic.github_release.yml +++ b/.github/workflows/generic.github_release.yml @@ -76,7 +76,12 @@ jobs: if: steps.release.outputs.release_created == 'true' uses: gradle/gradle-build-action@v2 with: - arguments: publish -x test + arguments: | + publish -x test \ + -PmultiverseReleasesUsername=${{ secrets.REPOSILITE_REPO_USERNAME }} \ + -PmultiverseReleasesPassword=${{ secrets.REPOSILITE_REPO_PASSWORD }} \ + -PmultiverseSnapshotsUsername=${{ secrets.REPOSILITE_REPO_USERNAME }} \ + -PmultiverseSnapshotsPassword=${{ secrets.REPOSILITE_REPO_PASSWORD }} env: GITHUB_VERSION: ${{ steps.release.outputs.publish_version }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/build.gradle b/build.gradle index b3297e9c2..f6bcc82fe 100644 --- a/build.gradle +++ b/build.gradle @@ -126,6 +126,16 @@ publishing { password = System.getenv("GITHUB_TOKEN") } } + maven { + name = "multiverseReleases" + url = "https://repo.dumptruckman.com/multiverse-releases" + credentials(PasswordCredentials) + } + maven { + name = "multiverseSnapshots" + url = "https://repo.dumptruckman.com/multiverse-snapshots" + credentials(PasswordCredentials) + } } }