Add github action to check that all resources are generated. ()

* Add github action to check that all resources are generated.

* Test

* Revert "Test"

This reverts commit 8e187bc781.

(cherry picked from commit 40dc7a94f6)
This commit is contained in:
modmuss50 2023-02-13 09:30:39 +00:00
parent 7f87f8fa9b
commit 6752791afe

View file

@ -65,3 +65,16 @@ jobs:
java-version: '17'
- run: mkdir run && echo "eula=true" >> run/eula.txt
- run: ./gradlew runProductionAutoTestServer --stacktrace --warning-mode=fail
check_resources:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: actions/setup-java@v3
with:
distribution: 'microsoft'
java-version: '17'
- run: ./gradlew generateResources --stacktrace --warning-mode=fail
- run: if [ -n "$(git status --porcelain)" ]; then exit 1; fi