mirror of
https://github.com/danieldemus/openhab-core.git
synced 2026-07-29 12:34:22 +02:00
Correct GHA build step condition (#2818)
Fixes that the wrong build step was made conditional in #2817. It should conditionally add annotations. Signed-off-by: Wouter Born <github@maindrain.net>
This commit is contained in:
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user