Skip to content

Commit

Permalink
Create package-windows.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
twwd authored Jun 12, 2024
1 parent fddbd2f commit e7cfbfe
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/package-windows.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
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

0 comments on commit e7cfbfe

Please sign in to comment.