Skip to content

Commit 6eb692e

Browse files
committed
Added closeAndReleaseSonatypeStagingRepository command
1 parent 4981db0 commit 6eb692e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/actions/maven-publish/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ runs:
3535

3636
- name: Publish Java Packages to Maven
3737
shell: bash
38-
run: ./gradlew publishToSonatype -PisSnapshot=false --stacktrace
38+
run: ./gradlew publishToSonatype closeAndReleaseSonatypeStagingRepository --stacktrace
3939
env:
4040
JAVA_HOME: ${{ env.JAVA_HOME }}
4141
MAVEN_USERNAME: ${{ inputs.ossr-username }}

0 commit comments

Comments
 (0)