Skip to content

Commit

Permalink
Trying a different approach to change encoding
Browse files Browse the repository at this point in the history
  • Loading branch information
Poiuy7312 committed Sep 18, 2023
1 parent ebf14f4 commit bdf6ba3
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,11 +69,15 @@ jobs:
if: always()
run: |
poetry run task lint
# Run the program
- name: Encode Windows
if: matrix.os == 'windows-latest'
run: |
$OutputEncoding = [Console]::OutputEncoding = [Text.UTF8Encoding]::UTF8
# Run the program
- name: Run program
if: always()
run: |
poetry run chasten analyze chasten --config $PWD/.chasten/ --debug-level ERROR --debug-dest CONSOLE --search-path . /p:ConsoleEncoding=UTF8
poetry run chasten analyze chasten --config $PWD/.chasten/ --debug-level ERROR --debug-dest CONSOLE --search-path .
# Run the tests
- name: Run Tests
Expand Down

0 comments on commit bdf6ba3

Please sign in to comment.