Skip to content

Add security workflow #68

Add security workflow

Add security workflow #68

name: MOR Agents Build Windows
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
workflow_dispatch:
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.x'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pyinstaller
pip install -r requirements.txt
- name: Build with PyInstaller
run: pyinstaller --icon=images/moragents.ico --name=MORagents main.py
- name: Install Inno Setup
run: choco install innosetup -y
- name: Compile Inno Setup Script
run: |
iscc /O".\MORagentsWindowsInstaller" "wizard_windows.iss"
- name: Upload Installer
uses: actions/upload-artifact@v4
with:
name: MORagentsSetup
path: .\MORagentsWindowsInstaller\MORagentsSetup.exe