Skip to content

Commit

Permalink
fix file location
Browse files Browse the repository at this point in the history
  • Loading branch information
Vivchar Vitaly committed Jul 19, 2024
1 parent 78a1e34 commit 177f557
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ env:
SIGNING_SECRET_KEY_RING_CONTENT: ${{ secrets.SIGNING_SECRET_KEY_RING_CONTENT }}

jobs:
build:
publish:
runs-on: ubuntu-latest

steps:
Expand All @@ -30,12 +30,10 @@ jobs:
- name: Prepare environment
run: |
echo "$SIGNING_SECRET_KEY_RING_CONTENT" | base64 -d > publish_key.gpg
ls -al
gpg --batch --yes --decrypt --passphrase="$SECRET_PASSPHRASE" --output secret.gpg publish_key.gpg
ls -al
- 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"
- name: Publish with Gradle
run: ./gradlew publish -Psigning.secretKeyRingFile=../secret.gpg -Psigning.keyId=$SIGNING_KEYID -Psigning.password=$SIGNING_PASSWORD -Ptoken="$SONATYPE_TOKEN"

0 comments on commit 177f557

Please sign in to comment.