Skip to content

Merge pull request #20 from Zhou-Shilin/main #5

Merge pull request #20 from Zhou-Shilin/main

Merge pull request #20 from Zhou-Shilin/main #5

Workflow file for this run

name: Windows Builds
on:
push:
branches:
- main
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: 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