Skip to content

Commit

Permalink
fix pass
Browse files Browse the repository at this point in the history
  • Loading branch information
Vivchar Vitaly committed Jul 19, 2024
1 parent 71e3b3c commit 3ada729
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"

0 comments on commit 3ada729

Please sign in to comment.