Skip to content

Commit

Permalink
Attempt 2 at windows build config
Browse files Browse the repository at this point in the history
  • Loading branch information
beveradb committed Dec 21, 2023
1 parent ad9492d commit aaef337
Showing 1 changed file with 17 additions and 8 deletions.
25 changes: 17 additions & 8 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,18 +18,27 @@ jobs:
gh-token: ${{ secrets.GITHUB_TOKEN }}
parse-changelog: false

publish-windows-executable:
runs-on: ubuntu-latest
build-windows:
runs-on: windows-latest

steps:
- uses: actions/checkout@v2

- name: Package Application
uses: JackMcKew/pyinstaller-action-windows@main
- name: Set up Python
uses: actions/setup-python@v2
with:
path: .
python-version: '3.9'

- name: Install dependencies with Poetry
run: |
pip install poetry
poetry install
- name: Build EXE with PyInstaller
run: poetry run pyinstaller karaoke-prep.spec

- uses: actions/upload-artifact@v2
- name: Upload EXE as Artifact
uses: actions/upload-artifact@v2
with:
name: windows-executable
path: dist/windows
name: karaoke-prep-windows
path: dist/*.exe

0 comments on commit aaef337

Please sign in to comment.