From fb76c8ee8cf16910d6cd93426da460a4265b3057 Mon Sep 17 00:00:00 2001 From: Abhinay Agarwal Date: Fri, 7 Oct 2022 14:05:00 +0530 Subject: [PATCH] Use new task from gradle nexus publish plugin (#334) --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 4c9110c6..e54ee288 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -37,7 +37,7 @@ jobs: id: deploy run: | export ANDROID_SDK=$ANDROID_HOME - ./gradlew publish closeAndReleaseRepository --info -PsonatypeUsername=$SONATYPE_USERNAME -PsonatypePassword=$SONATYPE_PASSWORD -Psigning.keyId=$GPG_KEYNAME -Psigning.password=$GPG_PASSPHRASE -Psigning.secretKeyRingFile=$HOME/.gnupg/secring.gpg + ./gradlew publish closeAndReleaseSonatypeStagingRepository --info -PsonatypeUsername=$SONATYPE_USERNAME -PsonatypePassword=$SONATYPE_PASSWORD -Psigning.keyId=$GPG_KEYNAME -Psigning.password=$GPG_PASSPHRASE -Psigning.secretKeyRingFile=$HOME/.gnupg/secring.gpg echo ::set-output name=exit_code::$? env: SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }}