Skip to content

Commit

Permalink
Make nuitka logging consistant
Browse files Browse the repository at this point in the history
  • Loading branch information
Eeems committed Feb 6, 2024
1 parent 6e47aa5 commit 99d0efb
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,18 @@ jobs:
--assume-yes-for-downloads \
--remove-output \
--output-dir=dist \
codexctl.py
codexctl.py 2>&1 \
| while read -r line; do
if [[ "$line" == 'Nuitka'*':ERROR:'* ]]; then
echo "::error file=${{ steps.args.outputs.main_file }},title=Nuitka Error::$line"
elif [[ "$line" == 'Nuitka'*':WARNING:'* ]]; then
echo "::warning file=${{ steps.args.outputs.main_file }},title=Nuitka Warning::$line"
elif [[ "$line" == 'Nuitka:INFO:'* ]]; then
echo "$line"
else
echo "::debug::$line"
fi
done
env:
nuitka_cache: ${{ github.workspace }}/.nuitka
- name: Move .ccache
Expand Down

0 comments on commit 99d0efb

Please sign in to comment.