Skip to content

Create package-windows.yml #1

Create package-windows.yml

Create package-windows.yml #1

name: Bundle for Windows
on:
push:
branches: ["master"]
jobs:
build-and-deploy:
runs-on: windows-latest
environment: dev
steps:
- name: 'Checkout GitHub Action'
uses: actions/checkout@v4
- name: Setup Python
uses: actions/[email protected]
with:
python-version: '3.12'
cache: 'poetry'
- name: 'Resolve Project Dependencies'
shell: pwsh # For Linux, use bash
run: |
pip install poetry
poetry self add poetry-pyinstaller-plugin
poetry install
- name: 'Build'
shell: pwsh
run: poetry run build