X Tutup
Skip to content

Commit 6adc604

Browse files
authored
Additional step for maven central release
1 parent eb2971c commit 6adc604

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/publish_release.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,3 +36,11 @@ jobs:
3636
NEXUS_PASSWORD: ${{ secrets.NEXUS_PASSWORD }}
3737
run:
3838
./gradlew clean publish -PRELEASE=true -Psigning.gnupg.keyId=${{ secrets.GPG_KEYID }} -Psigning.gnupg.passphrase=${{ secrets.GPG_PASSPHRASE }} -Psigning.gnupg.keyName=${{ secrets.GPG_KEYID }}
39+
40+
- name: Trigger manual upload to Central Repository
41+
if: github.event_name == 'release' && github.repository_owner == 'libgdx'
42+
run: |
43+
curl -X POST \
44+
-H "Authorization: Bearer $(echo -n '${{ secrets.NEXUS_USERNAME }}:${{ secrets.NEXUS_PASSWORD }}' | base64)" \
45+
-H "Content-Type: application/json" \
46+
https://ossrh-staging-api.central.sonatype.com/manual/upload/defaultRepository/com.badlogicgames

0 commit comments

Comments
 (0)
X Tutup