mirror of
https://github.com/FabricMC/fabric.git
synced 2025-04-15 00:14:28 -04:00
Have the action upload expected genResources result
This commit is contained in:
parent
5d996a33e4
commit
d368700cb4
1 changed files with 5 additions and 0 deletions
5
.github/workflows/build.yml
vendored
5
.github/workflows/build.yml
vendored
|
@ -85,4 +85,9 @@ jobs:
|
|||
distribution: 'microsoft'
|
||||
java-version: '21'
|
||||
- run: ./gradlew generateResources --stacktrace --warning-mode=fail
|
||||
- run: git --no-pager diff > build/gen_result.txt
|
||||
- uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: 'gen_result'
|
||||
path: 'build/gen_result.txt'
|
||||
- run: if [ -n "$(git status --porcelain)" ]; then exit 1; fi
|
||||
|
|
Loading…
Add table
Reference in a new issue