mirror of
https://github.com/ppy/osu.git
synced 2025-03-14 05:07:26 +08:00
Make CFS error and fail the job
This commit is contained in:
parent
d88daf0cc2
commit
5e934cdd2b
9
.github/workflows/ci.yml
vendored
9
.github/workflows/ci.yml
vendored
@ -79,9 +79,12 @@ jobs:
|
||||
run: |
|
||||
# TODO: Add ignore filters and GitHub Workflow Command Reporting in CFS. That way we don't have to do this workaround.
|
||||
# FIXME: Suppress warnings from templates project
|
||||
dotnet codefilesanity | while read -r line; do
|
||||
echo "::warning::$line"
|
||||
done
|
||||
exit_code=0
|
||||
while read -r line; do
|
||||
echo "::error::$line"
|
||||
exit_code=1
|
||||
done <<< $(dotnet codefilesanity)
|
||||
exit $exit_code
|
||||
|
||||
# Temporarily disabled due to test failures, but it won't work anyway until the tool is upgraded.
|
||||
# - name: .NET Format (Dry Run)
|
||||
|
Loading…
x
Reference in New Issue
Block a user