We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent eb2971c commit 6adc604Copy full SHA for 6adc604
.github/workflows/publish_release.yml
@@ -36,3 +36,11 @@ jobs:
36
NEXUS_PASSWORD: ${{ secrets.NEXUS_PASSWORD }}
37
run:
38
./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