github: fix library release workflow

This commit is contained in:
Harsh Shandilya 2022-06-20 15:11:34 +05:30
parent 816e1a8219
commit 783503ee7d
No known key found for this signature in database
GPG key ID: 366D7BBAD1031E80

View file

@ -32,7 +32,7 @@ jobs:
- name: Upload binaries
uses: gradle/gradle-build-action@v2.2.0
with:
arguments: :${{ steps.task-select.outputs.PROJECT }}:publishAllPublicationsToMavenCentralRepository
arguments: --no-configuration-cache :${{ steps.task-select.outputs.PROJECT }}:publishAllPublicationsToMavenCentralRepository
env:
ORG_GRADLE_PROJECT_mavenCentralUsername: ${{ secrets.NEXUS_PUBLISH_USERNAME }}
ORG_GRADLE_PROJECT_mavenCentralPassword: ${{ secrets.NEXUS_PUBLISH_PASSWORD }}
@ -42,7 +42,7 @@ jobs:
- name: Close and release repository
uses: gradle/gradle-build-action@v2.2.0
with:
arguments: closeAndReleaseRepository
arguments: --no-configuration-cache closeAndReleaseRepository
env:
ORG_GRADLE_PROJECT_mavenCentralUsername: ${{ secrets.NEXUS_PUBLISH_USERNAME }}
ORG_GRADLE_PROJECT_mavenCentralPassword: ${{ secrets.NEXUS_PUBLISH_PASSWORD }}