mirror of
https://github.com/FabricMC/fabric.git
synced 2025-03-24 22:11:18 -04:00
Add publish checkstyle report action (#2514)
This commit is contained in:
parent
5f243a8b78
commit
056269f0d8
1 changed files with 5 additions and 0 deletions
5
.github/workflows/build.yml
vendored
5
.github/workflows/build.yml
vendored
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue