Skip to content

Commit

Permalink
workflows publish-maven fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Данила Беляков authored and Данила Беляков committed Jul 29, 2024
1 parent e4bb9b9 commit c3d7725
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/publish-maven-alice-ktx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@ jobs:
env:
GPG_SECRET_KEY: ${{ secrets.GPG_SECRET_KEY }}

- name: Get absolute path of secring.gpg
id: gpg_path
run: echo "GPG_KEY_RING_PATH=$(realpath ~/.gnupg/secring.gpg)" >> $GITHUB_ENV

- name: Set up Gradle
uses: gradle/gradle-build-action@v2

Expand All @@ -40,4 +44,5 @@ jobs:
MAVEN_CENTRAL_USERNAME: ${{ secrets.MAVEN_CENTRAL_USERNAME }}
MAVEN_CENTRAL_PASSWORD: ${{ secrets.MAVEN_CENTRAL_PASSWORD }}
SIGNING_KEY_ID: ${{ secrets.SIGNING_KEY_ID }}
SIGNING_PASSWORD: ${{ secrets.SIGNING_PASSWORD }}
SIGNING_PASSWORD: ${{ secrets.SIGNING_PASSWORD }}
SIGNING_SECRET_KEY_RING_FILE: ${{ env.GPG_KEY_RING_PATH }}
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ kotlin.code.style=official
mavenCentralUsername=${MAVEN_CENTRAL_USERNAME}
mavenCentralPassword=${MAVEN_CENTRAL_PASSWORD}
signing.keyId=${SIGNING_KEY_ID}
signing.secretKeyRingFile=gpg/secring.gpg
signing.secretKeyRingFile=${SIGNING_SECRET_KEY_RING_FILE}
signing.password=${SIGNING_PASSWORD}

0 comments on commit c3d7725

Please sign in to comment.