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 @@ -52,17 +52,17 @@ jobs:
5252 id : projectVersion
5353 run : echo "version=$(./mvnw org.apache.maven.plugins:maven-help-plugin:3.5.1:evaluate -DforceStdout -Dexpression=project.version -q)" >> $GITHUB_OUTPUT
5454 - name : Deploy snapshot
55- if : ${{ github.event_name != 'pull_request' && matrix.release_build && endsWith(steps.projectVersion.outputs.version, '-SNAPSHOT') }}
55+ if : ${{ matrix.release_build && github.event_name != 'pull_request' && endsWith(steps.projectVersion.outputs.version, '-SNAPSHOT') }}
5656 env :
5757 CI_DEPLOY_USERNAME : ${{ secrets.CI_DEPLOY_USERNAME }}
5858 CI_DEPLOY_PASSWORD : ${{ secrets.CI_DEPLOY_PASSWORD }}
5959 # MAVEN_GPG_PASSPHRASE: ${{ secrets.MAVEN_GPG_PASSPHRASE }}
6060 run : ./mvnw -B -q -ff -DskipTests -ntp source:jar deploy
6161 - name : Generate code coverage
62- if : ${{ github.event_name != 'pull_request' && matrix.release_build }}
62+ if : ${{ matrix.release_build && github.event_name != 'pull_request' }}
6363 run : ./mvnw -B -q -ff -ntp test
6464 - name : Publish code coverage
65- if : ${{ github.event_name != 'pull_request' && matrix.release_build }}
65+ if : ${{ matrix.release_build && github.event_name != 'pull_request' }}
6666 uses : codecov/codecov-action@015f24e6818733317a2da2edd6290ab26238649a # v5.0.7
6767 with :
6868 token : ${{ secrets.CODECOV_TOKEN }}
You can’t perform that action at this time.
0 commit comments