mirror of
https://github.com/Multiverse/Multiverse-Core.git
synced 2024-11-21 18:15:26 +01:00
Merge pull request #3125 from Multiverse/jwood/reposilite
Publish to new repo using temp url.
This commit is contained in:
commit
562dece6f9
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'
|
if: steps.release.outputs.release_created == 'true'
|
||||||
uses: gradle/gradle-build-action@v2
|
uses: gradle/gradle-build-action@v2
|
||||||
with:
|
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:
|
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 }}
|
||||||
|
10
build.gradle
10
build.gradle
@ -126,6 +126,16 @@ publishing {
|
|||||||
password = System.getenv("GITHUB_TOKEN")
|
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