mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-09 14:15:22 +01:00
Fix misleading CI error when linting fails (#24200)
* Fix misleading CI error * Intentionally make /tg/ui build fail * Revert "Intentionally make /tg/ui build fail" This reverts commitcb7bbe3e6d. * Intentionally trigger dreamchecker * Ignore exit code * Fix error disappearing * Revert "Intentionally trigger dreamchecker" This reverts commita2187b7ce9. * Undo autoformat --------- Co-authored-by: Arthri <41360489+a@users.noreply.github.com>
This commit is contained in:
@@ -38,10 +38,13 @@ jobs:
|
||||
python tools/ci/illegal_dme_files.py ${GITHUB_WORKSPACE}
|
||||
python -m tools.ci.check_icon_conflicts
|
||||
python -m tools.maplint.source --github
|
||||
~/dreamchecker > ${GITHUB_WORKSPACE}/output-annotations.txt 2>&1
|
||||
DREAMCHECKER_EXIT_CODE=0
|
||||
~/dreamchecker > ${GITHUB_WORKSPACE}/output-annotations.txt 2>&1 || DREAMCHECKER_EXIT_CODE=$?
|
||||
echo 'DREAMCHECKER_ANNOTATED=1' >> "$GITHUB_ENV"
|
||||
exit $DREAMCHECKER_EXIT_CODE
|
||||
- name: Annotate Lints
|
||||
uses: yogstation13/DreamAnnotate@v2
|
||||
if: always()
|
||||
if: ${{ always() && env.DREAMCHECKER_ANNOTATED == '1' }}
|
||||
with:
|
||||
outputFile: output-annotations.txt
|
||||
|
||||
|
||||
Reference in New Issue
Block a user