Skip to content

Merge pull request #23 from Zhou-Shilin/feature-log-export #8

Merge pull request #23 from Zhou-Shilin/feature-log-export

Merge pull request #23 from Zhou-Shilin/feature-log-export #8

Workflow file for this run

name: Windows Builds
on:
push:
release:
types:
- created
jobs:
build:
runs-on: windows-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.x
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Set locale encoding to UTF-8
run: |
python -c "import locale; locale.setlocale(locale.LC_ALL, 'en_US.UTF-8')"
- name: Build project
run: python setup.py build
- name: Zip build folder
run: |
cd build
Compress-Archive -Path . -DestinationPath ../windows-build.zip
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: windows-build
path: windows-build.zip