This repository was archived by the owner on Sep 6, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 4545 CI_PROJECT_REPONAME : ${{ needs.check_branch.outputs.reponame }}
4646 CI_BRANCH : ${{ needs.check_branch.outputs.branch }}
4747 CI_TAG : ${{ needs.check_branch.outputs.tag }}
48+ BEARER : ${{ secrets.SONATYPE_TOKEN }}
4849 steps :
4950 - name : Checkout the branch
5051 uses : actions/checkout@v3
6667 -Psigning.secretKeyRingFile=./secret.gpg \
6768 mavenReleaseArtifact
6869 rm -f secret.gpg
69- ls -l build/distributions
70- ls -l build/distributions/maven-sinclude-${CI_TAG}.zip
71- curl --request POST --verbose --header "Authorization: Bearer ${{ secrets.SONATYPE_TOKEN }}" --form bundle="@build/distributions/maven-sinclude-${CI_TAG}.zip" https://central.sonatype.com/api/v1/publisher/upload
70+ unzip -v build/distributions/maven-sinclude-${CI_TAG}.zip
71+ curl --request POST --verbose --header "Authorization: Bearer ${BEARER}" --form bundle="@build/distributions/maven-sinclude-${CI_TAG}.zip" https://central.sonatype.com/api/v1/publisher/upload
7272
7373 - name : Deploy master to gh-pages
7474 if : ${{ env.HAVE_ACCESS_TOKEN == 'true' && env.CI_BRANCH == 'master' }}
You can’t perform that action at this time.
0 commit comments