Skip to content

Commit

Permalink
Publish to new repo using temp url.
Browse files Browse the repository at this point in the history
  • Loading branch information
dumptruckman committed Nov 16, 2024
1 parent 83b6236 commit fa30b43
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/generic.github_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
10 changes: 10 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
}
}

Expand Down

0 comments on commit fa30b43

Please sign in to comment.