Skip to content

Package Application with PyInstaller #5

Package Application with PyInstaller

Package Application with PyInstaller #5

Workflow file for this run

name: Package Application with PyInstaller
on: workflow_dispatch
jobs:
build:
strategy:
fail-fast: false
matrix:
python-version: ["3.12"]
poetry-version: ["1.8.3"]
os: [ubuntu-22.04, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Run image
uses: abatilo/actions-poetry@v3
with:
poetry-version: ${{ matrix.poetry-version }}
- name: Inject poetry-pyinstaller-plugin
run: pipx inject poetry poetry-pyinstaller-plugin
- name: Spawn poetry shell within virtual environment
run: poetry shell
- name: Install dependencies
run: poetry install
- name: Build package
run: poetry build
- uses: actions/upload-artifact@v4
with:
name: pymusiclooper-${{ matrix.os }}
path: dist/pyinstaller/**/pymusiclooper*