Skip to content

Commit d247ed6

Browse files
committed
Publish only on JDK 11.
1 parent a8eca7e commit d247ed6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/build.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ jobs:
130130
run: |
131131
echo "DEPLOY_OSSRH=true" >> $GITHUB_ENV
132132
- name: Publish to ossrh
133-
if: env.DEPLOY_OSSRH == 'true'
133+
if: env.DEPLOY_OSSRH == 'true' && env.JDK_VER == '11'
134134
run: |
135135
echo ${{ secrets.GPG_PRIVATE_KEY }} | base64 -d > private-key.gpg
136136
export GPG_TTY=$(tty)

0 commit comments

Comments
 (0)