diff --git a/.github/workflows/generic.github_release.yml b/.github/workflows/generic.github_release.yml index e901a8fc..c2af1f1f 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 b3297e9c..f6bcc82f 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) + } } }