mirror of
https://github.com/Multiverse/Multiverse-Core.git
synced 2024-11-23 19:15:27 +01:00
Publish to new repo using temp url.
This commit is contained in:
parent
83b6236ed7
commit
fa30b432a9
7
.github/workflows/generic.github_release.yml
vendored
7
.github/workflows/generic.github_release.yml
vendored
@ -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 }}
|
||||
|
10
build.gradle
10
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)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user