Add publish checkstyle report action ()

This commit is contained in:
Juuz 2022-09-09 14:45:06 +03:00 committed by GitHub
parent 5f243a8b78
commit 056269f0d8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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