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 }}