Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Use --color
  • Loading branch information
StanFromIreland authored Jan 27, 2025
commit 57635b7b69449cfc96eb0a1e17ca3db7f286e584
19 changes: 2 additions & 17 deletions .github/workflows/update-lint-and-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,14 +73,7 @@ jobs:
- uses: actions/checkout@master
with:
ref: ${{ matrix.version }}
- run: |
sphinx-lint | while IFS= read -r line; do
if [[ $line == *"WARNING:"* ]]; then
echo "::warning file=${{ matrix.version }}::$line"
elif [[ $line == *"ERROR:"* ]]; then
echo "::error file=${{ matrix.version }}::$line"
fi
done
- run: sphinx-lint --color

build-translation:
runs-on: ubuntu-latest
Expand All @@ -105,15 +98,7 @@ jobs:
path: Doc/locales/pl/LC_MESSAGES
- run: git pull
working-directory: ./Doc/locales/pl/LC_MESSAGES
- run: |
make -e SPHINXOPTS="-D language='pl' -D gettext_compact=0 -W --keep-going" ${{ matrix.format }} 2>&1 | while IFS= read -r line; do
if [[ $line == *"WARNING:"* ]]; then
echo "::warning::$line"
elif [[ $line == *"ERROR:"* ]]; then
echo "::error::$line"
fi
done
working-directory: ./Doc
- run: make -e SPHINXOPTS="--color -D language='pl' -D gettext_compact=0 -W --keep-going" ${{ matrix.format }}
- uses: actions/upload-artifact@master
with:
name: build-${{ matrix.version }}-${{ matrix.format }}
Expand Down