Skip to content
This repository was archived by the owner on Sep 6, 2025. It is now read-only.

Commit 488de96

Browse files
committed
More tinkering
1 parent d02b0da commit 488de96

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ jobs:
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
@@ -66,9 +67,8 @@ jobs:
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' }}

0 commit comments

Comments
 (0)