Skip to content

Fix error: UnicodeEncodeError: 'charmap' codec can't encode character… #28

Fix error: UnicodeEncodeError: 'charmap' codec can't encode character…

Fix error: UnicodeEncodeError: 'charmap' codec can't encode character… #28

Workflow file for this run

name: PyInstaller
on: [push]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos-latest, windows-latest, ubuntu-latest]
steps:
- uses: actions/checkout@v1
- name: Set up Python 3.7
uses: actions/setup-python@v1
with:
python-version: 3.7
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install pyinstaller
- name: build with pyinstaller
run: |
pyinstaller --onefile learn-stdio.py -n learn-stdio-${{ matrix.os }}
- name : Upload artifact
uses: actions/upload-artifact@master
with:
name: learn-stdio
path: dist/