File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -43,17 +43,17 @@ jobs:
4343 id : projectVersion
4444 run : echo "version=$(./mvnw org.apache.maven.plugins:maven-help-plugin:3.3.0:evaluate -DforceStdout -Dexpression=project.version -q)" >> $GITHUB_OUTPUT
4545 - name : Deploy snapshot
46- if : ${{ github.event_name != 'pull_request' && endsWith(steps.projectVersion.outputs.version, '-SNAPSHOT') }}
46+ if : ${{ github.event_name != 'pull_request' && matrix.java_version == '17' && endsWith(steps.projectVersion.outputs.version, '-SNAPSHOT') }}
4747 env :
4848 CI_DEPLOY_USERNAME : ${{ secrets.CI_DEPLOY_USERNAME3 }}
4949 CI_DEPLOY_PASSWORD : ${{ secrets.CI_DEPLOY_PASSWORD3 }}
5050 # MAVEN_GPG_PASSPHRASE: ${{ secrets.MAVEN_GPG_PASSPHRASE }}
5151 run : ./mvnw -B -q -ff -DskipTests -ntp source:jar deploy
5252 - name : Generate code coverage
53- if : ${{ matrix.release_build && github.event_name != 'pull_request ' }}
53+ if : ${{ github.event_name != 'pull_request' && matrix.java_version == '17 ' }}
5454 run : ./mvnw -B -q -ff -ntp test
5555 - name : Publish code coverage
56- if : ${{ matrix.release_build && github.event_name != 'pull_request ' }}
56+ if : ${{ github.event_name != 'pull_request' && matrix.java_version == '17 ' }}
5757 uses : codecov/codecov-action@v1
5858 with :
5959 token : ${{ secrets.CODECOV_TOKEN }}
You can’t perform that action at this time.
0 commit comments