From a08c1a80e28f030e1599ee6b305265c223c961f5 Mon Sep 17 00:00:00 2001 From: Rodion Kolovanov Date: Tue, 5 Dec 2023 14:17:25 +0300 Subject: [PATCH] =?UTF-8?q?=D0=A4=D0=B8=D0=BA=D1=81=20=D0=BF=D1=80=D0=B8?= =?UTF-8?q?=D0=BC=D0=B5=D1=80=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/build.yml | 4 ++-- optimization_methods/gui/MainWindow.ui | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 59d3273..7a8d75e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -9,7 +9,7 @@ jobs: steps: - name: Checkout uses: actions/checkout@v2 - - name: Setup python 3.11 + - name: Setup Python 3.11 uses: actions/setup-python@v2 with: python-version: 3.11 @@ -17,7 +17,7 @@ jobs: run: pip install -r requirements.txt pyinstaller - name: Generate UI scripts from .ui files run: pyuic5 -o optimization_methods/gui/MainWindowUi.py optimization_methods/gui/MainWindow.ui - - name: Generate Windows package + - name: Generate artifact run: pyinstaller --noconsole --onefile --icon=etc/icon.ico --name optimization_methods optimization_methods/__main__.py - name: Upload artifact uses: actions/upload-artifact@v2 diff --git a/optimization_methods/gui/MainWindow.ui b/optimization_methods/gui/MainWindow.ui index 40ff9d3..4bfc8f7 100644 --- a/optimization_methods/gui/MainWindow.ui +++ b/optimization_methods/gui/MainWindow.ui @@ -71,7 +71,7 @@ - Пример: x1 ** 2 + (x2 ** 0.5) * x3 + Пример: x1 ** 2 + x2 ** 2 + x3 ** 2