Skip to content

Commit c2d7009

Browse files
authored
Integrate OSSRH upload command in deploy workflow
Add cURL command to upload to OSSRH staging API
1 parent 8a569f8 commit c2d7009

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/deploy.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ jobs:
3737
echo 'org.gradle.jvmargs=-Xmx2048m' >> gradle.properties
3838
./gradlew publishApiPublicationToOssrhRepository
3939
./gradlew --stop
40+
curl -X POST -H "Authorization: Bearer $(echo -n ${ORG_GRADLE_PROJECT_ossrhUsername}:${ORG_GRADLE_PROJECT_ossrhPassword} | base64)" https://ossrh-staging-api.central.sonatype.com/manual/upload/defaultRepository/io.github.libxposed
4041
env:
4142
ORG_GRADLE_PROJECT_signingKey: ${{ secrets.maven_pgp_signingKey }}
4243
ORG_GRADLE_PROJECT_signingPassword: ${{ secrets.maven_pgp_signingPassword }}

0 commit comments

Comments
 (0)