Skip to content

Commit 8b5205b

Browse files
committed
Only Deploy Central if Release
Issue gh-70
1 parent 145ded6 commit 8b5205b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/deploy-artifacts.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,7 @@ jobs:
9999
ORG_GRADLE_PROJECT_signingPassword: ${{ secrets.GPG_PASSPHRASE }}
100100
run: ./gradlew publishAllPublicationsToLocalRepository --stacktrace
101101
- name: Publish Staged Artifacts to Central
102+
if: ${{ steps.deploy-location.outputs.deploy_location == 'central' }}
102103
uses: spring-io/central-publish-action@0cdd90d12e6876341e82860d951e1bcddc1e51b6 # v0.2.0
103104
with:
104105
token-name: ${{ secrets.CENTRAL_TOKEN_USERNAME }}

0 commit comments

Comments
 (0)