Skip to content

Commit 6ddaf72

Browse files
committed
one more fix
1 parent 88e63d6 commit 6ddaf72

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
@@ -40,7 +40,7 @@ jobs:
4040
id: projectVersion
4141
run: echo ::set-output name=version::$(./mvnw org.apache.maven.plugins:maven-help-plugin:3.2.0:evaluate -DforceStdout -Dexpression=project.version -q)
4242
- name: Deploy snapshot
43-
if: github.event_name != 'pull_request' && matrix.java_version == '8' && endsWith(steps.projectVersion.output)
43+
if: github.event_name != 'pull_request' && matrix.java_version == '8' && endsWith(steps.projectVersion.output, '-SNAPSHOT')
4444
env:
4545
CI_DEPLOY_USERNAME: ${{ secrets.CI_DEPLOY_USERNAME }}
4646
CI_DEPLOY_PASSWORD: ${{ secrets.CI_DEPLOY_PASSWORD }}

0 commit comments

Comments
 (0)