mirror of
https://github.com/FabricMC/fabric.git
synced 2025-03-23 21:40:02 -04:00
Add github action to check that all resources are generated. (#2877)
* Add github action to check that all resources are generated. * Test * Revert "Test" This reverts commit8e187bc781
. (cherry picked from commit40dc7a94f6
)
This commit is contained in:
parent
7f87f8fa9b
commit
6752791afe
1 changed files with 13 additions and 0 deletions
13
.github/workflows/build.yml
vendored
13
.github/workflows/build.yml
vendored
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue