From 056269f0d895401985ad828288c3432411035c52 Mon Sep 17 00:00:00 2001 From: Juuz <6596629+Juuxel@users.noreply.github.com> Date: Fri, 9 Sep 2022 14:45:06 +0300 Subject: [PATCH] Add publish checkstyle report action (#2514) --- .github/workflows/build.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 878ce3f9a..d8008ab14 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -15,6 +15,11 @@ jobs: fetch-depth: 0 - uses: gradle/wrapper-validation-action@v1 - run: ./gradlew check build publishToMavenLocal --stacktrace --warning-mode=fail -Porg.gradle.parallel.threads=4 + - uses: Juuxel/publish-checkstyle-report@v1 + if: ${{ failure() }} + with: + reports: | + **/build/reports/checkstyle/*.xml - run: mkdir run && echo "eula=true" >> run/eula.txt - run: ./gradlew runAutoTestServer --stacktrace --warning-mode=fail - uses: actions/upload-artifact@v2