This repository has been archived by the owner on Sep 4, 2024. It is now read-only.
Фикс сборки #3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |