diff --git a/.github/workflows/ci-build.yml b/.github/workflows/ci-build.yml index ddf5830dc..5027705d7 100644 --- a/.github/workflows/ci-build.yml +++ b/.github/workflows/ci-build.yml @@ -72,7 +72,7 @@ jobs: -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn - name: Upload Build Log - if: ${{ matrix.java == '11' && always() && ((steps.build.outcome == 'success') || (steps.build.outcome == 'failure')) }} + if: ${{ always() && ((steps.build.outcome == 'success') || (steps.build.outcome == 'failure')) }} uses: actions/upload-artifact@v2 with: name: build-log-java-${{ matrix.java }}-${{ matrix.os }} @@ -86,8 +86,8 @@ jobs: path: target/summary_report.html - name: Report SAT Errors as Annotations + if: ${{ matrix.java == '11' && always() && ((steps.build.outcome == 'success') || (steps.build.outcome == 'failure')) }} uses: ghys/checkstyle-github-action@main - if: ${{ always() && ((steps.build.outcome == 'success') || (steps.build.outcome == 'failure')) }} with: title: CheckStyle Violations path: '**/checkstyle-result.xml'