Skip to content
This repository has been archived by the owner on Sep 4, 2024. It is now read-only.

Фикс сборки #3

Фикс сборки

Фикс сборки #3

Workflow file for this run

name: Build optimization_methods
on:
push:
jobs:
build-app:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: 3.11
- run: pip install -r requirements.txt pyinstaller
- run: pyuic -o optimization_methods/gui/MainWindowUi.py optimization_methods/gui/MainWindow.ui
- run: pyinstaller --noconsole --onefile --icon=etc/icon.ico --add-data="optimization_methods/gui/MainWindow.ui;." --name optimization_methods optimization_methods/__main__.py
- uses: actions/upload-artifact@v2
with:
name: optimization_methods
path: dist/*
retention-days: 2