Skip to content

Commit

Permalink
fix: use useSonatypeLegacy from workflow.yaml (#158)
Browse files Browse the repository at this point in the history
  • Loading branch information
chase-crumbaugh authored Sep 5, 2024
1 parent 43c6167 commit bc5cfbe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/workflow-executor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,7 @@ jobs:
- name: Validate Gradle wrapper
uses: gradle/wrapper-validation-action@e6e38bacfdf1a337459f332974bb2327a31aaf4b
- name: Publish to Sonatype (legacy)
if: ${{ inputs.use_sonatype_legacy == 'true' }}
if: ${{ needs.run-workflow.outputs.use_sonatype_legacy == 'true' }}
uses: gradle/gradle-build-action@67421db6bd0bf253fb4bd25b31ebb98943c375e1
with:
arguments: publish
Expand All @@ -377,7 +377,7 @@ jobs:
ORG_GRADLE_PROJECT_signingKey: ${{ secrets.java_gpg_secret_key }}
ORG_GRADLE_PROJECT_signingPassphrase: ${{ secrets.java_gpg_passphrase }}
- name: Publish to Sonatype Central
if: ${{ inputs.use_sonatype_legacy != 'true' }}
if: ${{ needs.run-workflow.outputs.use_sonatype_legacy != 'true' }}
run: |-
pwd
./gradlew build sonatypeCentralUpload --no-daemon
Expand Down

0 comments on commit bc5cfbe

Please sign in to comment.