Skip to content

Commit 1cf1fef

Browse files
adds scan flag
1 parent 11eb876 commit 1cf1fef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/publishing2sonatype.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,9 @@ jobs:
3636
sed -i -e 's|.*sonatypePassword.*| password = "${{ secrets.SPASSWORD }}"|' ./build.gradle
3737
- name: Sonatype Publish
3838
run: |
39+
./gradlew -S --scan publishJarPublicationToStagingRepository
3940
BEARER=$(printf "${{ secrets.SUSER }}:${{ secrets.SPASSWORD }}" | base64)
4041
curl --request POST \
4142
--verbose \
4243
--header "Authorization: Bearer ${BEARER}" \
4344
https://ossrh-staging-api.central.sonatype.com/manual/upload/defaultRepository/${{ secrets.SREPO_ID }}
44-
./gradlew -S publishJarPublicationToStagingRepository

0 commit comments

Comments
 (0)