Merge pull request #3125 from Multiverse/jwood/reposilite

Publish to new repo using temp url.
This commit is contained in:
Jeremy Wood 2024-11-16 02:02:19 -05:00 committed by GitHub
commit 562dece6f9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
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)
}
}
}