Skip to content

'manual' pyinstaller GH action attempt #9

'manual' pyinstaller GH action attempt

'manual' pyinstaller GH action attempt #9

name: Package Application with Pyinstaller for Windows
on:
release:
types: [created]
workflow_dispatch:
jobs:
build:
runs-on: windows-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Activate virtual environment
run: .\myenv\Scripts\Activate.ps1
shell: powershell
- name: Install requirements
run: pip install -r requirements.txt
- name: PyInstaller
run: pyinstaller --clean --name molclass --onefile main.py
- name: List contents of dist directory
run: ls dist

Check failure on line 33 in .github/workflows/pyinstaller-windows.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/pyinstaller-windows.yml

Invalid workflow file

You have an error in your yaml syntax on line 33
- name: Upload Windows Artifact
uses: actions/upload-artifact@v3
id: upload_artifacts_windows
with:
name: Molclass.exe
path: dist/molclass.exe