Skip to content

💥 add possible build action #1

💥 add possible build action

💥 add possible build action #1

Workflow file for this run

name: Build Python Executable for Windows
on: [push]
jobs:
build-windows:
runs-on: windows-latest
steps:
- name: Check out repository code
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.12'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Build with PyInstaller
run: pyinstaller xml2st.py --onefile --add-data plcopen:plcopen
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: windows-executable
path: dist/xml2st