Publish to new repo using temp url.

This commit is contained in:
Jeremy Wood 2024-11-15 23:19:53 -05:00
parent 83b6236ed7
commit fa30b432a9
No known key found for this signature in database
GPG Key ID: C5BAD04C77B91B4B
2 changed files with 16 additions and 1 deletions

View File

@ -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 }}

View File

@ -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)
}
}
}