Skip to content

Commit

Permalink
Github Actions testing
Browse files Browse the repository at this point in the history
  • Loading branch information
wellsb1 committed Oct 10, 2024
1 parent 0c12ffd commit cc6bf35
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions .github/workflows/build-gradle-project.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,15 @@ jobs:
run: ./gradlew build
- name: Publish to Sonotype and OSSRH
env:
OSSRH_SIGNING: ${{ secrets.OSSRH_SIGNING }}
# SIGNING_KEY: ${{ secrets.SIGNING_KEY }}
# SIGNING_KEY_ID: ${{ secrets.SIGNING_KEY_ID }}
# SIGNING_PASSWORD: ${{ secrets.SIGNING_PASSWORD }}
ORG_GRADLE_PROJECT_signingKey: ${{ secrets.OSSRH_SIGNING_KEY }}
ORG_GRADLE_PROJECT_signingKeyId: ${{ secrets.OSSRH_SIGNING_KEY_ID }}
ORG_GRADLE_PROJECT_signingPassword: ${{ secrets.OSSRH_SIGNING_PASSWORD }}
run: |
echo -e "\n#START CICD VARS" >> gradle.properties
echo $OSSRH_SIGNING | base64 -d >> gradle.properties
echo -e "#END CICD VARS" >> gradle.properties
./gradlew sign
# env:
# OSSRH_SIGNING: ${{ secrets.OSSRH_SIGNING }}
# run: |
# echo -e "\n#START CICD VARS" >> gradle.properties
# echo $OSSRH_SIGNING | base64 -d >> gradle.properties
# echo -e "#END CICD VARS" >> gradle.properties
# ./gradlew --stacktrace publishToSonatype closeAndReleaseSonatypeStagingRepository

0 comments on commit cc6bf35

Please sign in to comment.