Skip to content

Commit

Permalink
[#941] fix(ci): fix closing repo when publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
krzema12 committed Oct 14, 2023
1 parent 75b1d76 commit 36305c7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.main.kts
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ workflow(
uses(
name = "Publish '$library' to Sonatype",
action = GradleBuildActionV2(
arguments = "$library:publishToSonatype $library:closeAndReleaseSonatypeStagingRepository",
arguments = "$library:publishToSonatype closeAndReleaseSonatypeStagingRepository",
),
)
}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,12 +52,12 @@ jobs:
name: 'Publish '':automation:action-binding-generator'' to Sonatype'
uses: 'gradle/gradle-build-action@v2'
with:
arguments: ':automation:action-binding-generator:publishToSonatype :automation:action-binding-generator:closeAndReleaseSonatypeStagingRepository'
arguments: ':automation:action-binding-generator:publishToSonatype closeAndReleaseSonatypeStagingRepository'
- id: 'step-5'
name: 'Publish '':library'' to Sonatype'
uses: 'gradle/gradle-build-action@v2'
with:
arguments: ':library:publishToSonatype :library:closeAndReleaseSonatypeStagingRepository'
arguments: ':library:publishToSonatype closeAndReleaseSonatypeStagingRepository'
- id: 'step-6'
name: 'Wait until '':automation:action-binding-generator'' present in Maven Central'
uses: 'gradle/gradle-build-action@v2'
Expand Down

0 comments on commit 36305c7

Please sign in to comment.