Skip to content

Commit

Permalink
fix: maven publish error
Browse files Browse the repository at this point in the history
  • Loading branch information
anwarpro committed Oct 6, 2024
1 parent 3dbb0d3 commit bc2b07c
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,5 +60,10 @@ jobs:
xcode-version: latest-stable

- name: Publish To Maven Central
env:
MAVEN_CENTRAL_USERNAME: ${{ secrets.MAVEN_CENTRAL_USERNAME }}
MAVEN_CENTRAL_PASSWORD: ${{ secrets.MAVEN_CENTRAL_PASSWORD }}
SIGNING_KEY_ID: ${{ secrets.SIGNING_KEY_ID }}
SIGNING_KEY_PASSWORD: ${{ secrets.SIGNING_KEY_PASSWORD }}
run: |
./gradlew publishAndReleaseToMavenCentral --no-configuration-cache
./gradlew publishAndReleaseToMavenCentral --no-configuration-cache -PmavenCentralUsername=${MAVEN_CENTRAL_USERNAME} -PmavenCentralPassword=${MAVEN_CENTRAL_PASSWORD} -Psigning.keyId=${SIGNING_KEY_ID} -Psigning.password=${SIGNING_KEY_PASSWORD} -Psigning.secretKeyRingFile=${HOME}/secret_key.gpg

0 comments on commit bc2b07c

Please sign in to comment.