Skip to content

Commit 757a274

Browse files
committed
fixing publishing script
1 parent 04a07a6 commit 757a274

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,10 @@ jobs:
2525
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2626
run: cd lisa && ./gradlew publishAllPublicationsToOSSRHRepository
2727
- name: Finalize Publication to Maven Central
28+
env:
29+
MAVEN_PORTAL_B64_TOKEN: ${{ secrets.MAVEN_PORTAL_B64_TOKEN }}
2830
run: |
2931
# Send the POST request to the Staging API for automatic release
3032
curl -X POST \
31-
-H "Authorization: Bearer ${{ secrets.MAVEN_PORTA_B64_TOKEN }}" \
32-
"https://ossrh-staging-api.central.sonatype.com"
33+
-H "Authorization: Bearer $MAVEN_PORTAL_B64_TOKEN" \
34+
"https://ossrh-staging-api.central.sonatype.com/manual/upload/defaultRepository/io.github.lisa-analyzer?publishing_type=automatic"

0 commit comments

Comments
 (0)