Skip to content

Commit 775d684

Browse files
committed
Minor fix to Github Action wrt publish snapshot: avoid calling multiple times
1 parent d5ee265 commit 775d684

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ jobs:
4949
id: projectVersion
5050
run: echo ::set-output name=version::$(./mvnw org.apache.maven.plugins:maven-help-plugin:3.2.0:evaluate -DforceStdout -Dexpression=project.version -q)
5151
- name: Deploy snapshot
52-
if: github.event_name != 'pull_request' && matrix.java_version == '8' && endsWith(steps.projectVersion.outputs.version, '-SNAPSHOT')
52+
if: github.event_name != 'pull_request' && matrix.java_version == '8' && matrix.kotlin_version == '1.6.21' && endsWith(steps.projectVersion.outputs.version, '-SNAPSHOT')
5353
env:
5454
CI_DEPLOY_USERNAME: ${{ secrets.CI_DEPLOY_USERNAME }}
5555
CI_DEPLOY_PASSWORD: ${{ secrets.CI_DEPLOY_PASSWORD }}

0 commit comments

Comments
 (0)