Skip to content

Commit

Permalink
workflows/poetry: set PYTHONIOENCODING to utf-8 on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
airwoodix committed Jan 29, 2024
1 parent 881e1f0 commit dc11060
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/poetry.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ jobs:
with:
python-version: ${{ matrix.python-version }}
cache: "poetry"
- name: Set Windows environment
run: |
echo "PYTHONIOENCODING='utf-8:replace'" >> "$GITHUB_ENV"
if: startsWith(matrix.os, 'windows')
- name: Check shell scripts
uses: ludeeus/[email protected]
if: startsWith(matrix.os, 'ubuntu')
Expand Down

0 comments on commit dc11060

Please sign in to comment.