File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed
Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -160,3 +160,11 @@ jobs:
160160 - name : Release build deploy
161161 if : github.event_name == 'release' && github.repository_owner == 'libgdx'
162162 run : ./gradlew build publish --info -PRELEASE -Psigning.gnupg.keyId=${{ secrets.GPG_KEYID }} -Psigning.gnupg.passphrase=${{ secrets.GPG_PASSPHRASE }} -Psigning.gnupg.keyName=${{ secrets.GPG_KEYID }}
163+
164+ - name : Trigger manual upload to Central Repository
165+ if : github.event_name == 'release' && github.repository_owner == 'libgdx'
166+ run : |
167+ curl -X POST \
168+ -H "Authorization: Bearer $(echo -n '${{ secrets.NEXUS_USERNAME }}:${{ secrets.NEXUS_PASSWORD }}' | base64)" \
169+ -H "Content-Type: application/json" \
170+ https://ossrh-staging-api.central.sonatype.com/manual/upload/defaultRepository/com.badlogicgames
You can’t perform that action at this time.
0 commit comments