mirror of
https://github.com/Multiverse/Multiverse-Core.git
synced 2024-12-04 16:33:23 +01:00
Merge pull request #3128 from Multiverse/fix-publish-repo
This commit is contained in:
commit
2f8d23390a
6
.github/workflows/generic.github_release.yml
vendored
6
.github/workflows/generic.github_release.yml
vendored
@ -78,10 +78,8 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
arguments: >
|
arguments: >
|
||||||
publish -x test
|
publish -x test
|
||||||
-PmultiverseReleasesUsername=${{ secrets.REPOSILITE_REPO_USERNAME }}
|
-PmultiverseUsername=${{ secrets.REPOSILITE_REPO_USERNAME }}
|
||||||
-PmultiverseReleasesPassword=${{ secrets.REPOSILITE_REPO_PASSWORD }}
|
-PmultiversePassword=${{ secrets.REPOSILITE_REPO_PASSWORD }}
|
||||||
-PmultiverseSnapshotsUsername=${{ secrets.REPOSILITE_REPO_USERNAME }}
|
|
||||||
-PmultiverseSnapshotsPassword=${{ secrets.REPOSILITE_REPO_PASSWORD }}
|
|
||||||
env:
|
env:
|
||||||
GITHUB_VERSION: ${{ steps.release.outputs.publish_version }}
|
GITHUB_VERSION: ${{ steps.release.outputs.publish_version }}
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
11
build.gradle
11
build.gradle
@ -127,13 +127,10 @@ publishing {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
maven {
|
maven {
|
||||||
name = "multiverseReleases"
|
name = "multiverse"
|
||||||
url = "https://repo.dumptruckman.com/multiverse-releases"
|
def releasesRepoUrl = "https://repo.dumptruckman.com/multiverse-releases"
|
||||||
credentials(PasswordCredentials)
|
def snapshotsRepoUrl = "https://repo.dumptruckman.com/multiverse-snapshots"
|
||||||
}
|
url = version.endsWith('SNAPSHOT') ? snapshotsRepoUrl : releasesRepoUrl
|
||||||
maven {
|
|
||||||
name = "multiverseSnapshots"
|
|
||||||
url = "https://repo.dumptruckman.com/multiverse-snapshots"
|
|
||||||
credentials(PasswordCredentials)
|
credentials(PasswordCredentials)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user