Skip to content

Commit d43757c

Browse files
committed
I suspect the issue is the bearer token is not passed correctly
1 parent eb3e1df commit d43757c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/publish_jar.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ jobs:
5555
bash create_bundle.sh $VERSION
5656
curl --request POST \
5757
--verbose \
58-
--header "Authorization: Bearer ${{ secrets.BEARER_TOKEN }}" \
58+
--header "Authorization: Bearer ${BEARER_TOKEN}" \
5959
6060
--form publishingType=AUTOMATIC \
6161
https://central.sonatype.com/api/v1/publisher/upload \
@@ -65,6 +65,7 @@ jobs:
6565
exit 1
6666
fi
6767
env:
68+
BEARER_TOKEN: ${{ secrets.BEARER_TOKEN }}
6869
SIGNING_KEY: ${{ secrets.SIGNING_KEY }}
6970
VERSION: ${{ env.RELEASE_VERSION }}
7071

0 commit comments

Comments
 (0)