From 3ada7292518e4e289a732a74600338334bc2937c Mon Sep 17 00:00:00 2001 From: Vivchar Vitaly Date: Sat, 20 Jul 2024 05:15:11 +0700 Subject: [PATCH] fix pass --- .github/workflows/gradle.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml index dbd1092..fc9f9ac 100644 --- a/.github/workflows/gradle.yml +++ b/.github/workflows/gradle.yml @@ -27,14 +27,13 @@ jobs: distribution: 'adopt' java-version: '17' - - name: Prepare environment + - name: Prepare environment # https://habr.com/ru/articles/490604/ run: | echo "$SIGNING_SECRET_KEY_RING_CONTENT" | base64 -d > publish_key.gpg - gpg --version - gpg --pinentry loopback --batch --yes --decrypt --passphrase="SIGNING_SECRET_PASSPHRASE" --output secret.gpg publish_key.gpg + gpg --batch --yes --decrypt --passphrase="$SIGNING_SECRET_PASSPHRASE" --output secret.gpg publish_key.gpg - name: Grant execute permission for gradlew run: chmod +x ./gradlew - name: Publish with Gradle - run: ./gradlew publish -Psigning.secretKeyRingFile=../secret.gpg -Psigning.keyId=$SIGNING_KEYID -Psigning.password=$SIGNING_PASSWORD -Ptoken="$SONATYPE_TOKEN" + run: ./gradlew publish -Psigning.secretKeyRingFile=../secret.gpg -Psigning.keyId=$SIGNING_KEYID -Psigning.password=$SIGNING_PASSWORD -Ptoken="$SONATYPE_TOKEN" \ No newline at end of file