Skip to content

Commit 09346e6

Browse files
[CD] publish to Sonatype before closing the repo
1 parent cc1fc30 commit 09346e6

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/release.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,9 @@ jobs:
5151
java-version: 17
5252
- uses: android-actions/setup-android@v3
5353

54-
- run: ./gradlew lintRelease publishToMavenLocal closeAndReleaseSonatypeStagingRepository
54+
- run: ./gradlew lintRelease publishToMavenLocal
55+
56+
- run: ./gradlew publishToSonatype closeAndReleaseSonatypeStagingRepository
5557
env:
5658
ORG_GRADLE_PROJECT_sonatypeUsername: ${{ secrets.SONATYPE_USERNAME }}
5759
ORG_GRADLE_PROJECT_sonatypePassword: ${{ secrets.SONATYPE_PASSWORD }}

0 commit comments

Comments
 (0)