diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index ba23d8a..5604e69 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -20,17 +20,19 @@ jobs: - name: Install Dependencies run: | - python -m pip install --upgrade pip - pip install pyinstaller - if [ -f requirements.txt ]; then pip install -r requirements.txt; fi - shell: bash + python -m pip install --upgrade pip + pip install pyinstaller + if (Test-Path requirements.txt) { pip install -r requirements.txt } + shell: pwsh - name: Build Executable with PyInstaller run: | - pyinstaller --onefile --add-data "templates;templates" --add-data "static;static" app.py # Build the executable + pyinstaller --onefile --add-data "templates;templates" --add-data "static;static" --add-data "favicon.ico;." --name mimosa app.py + Move-Item "dist/mimosa.exe" "mimosa.exe" # Move the executable to the root directory + shell: pwsh - name: Upload Executable Artifact uses: actions/upload-artifact@v3 with: - name: windows-flask-executable - path: dist/app.exe # Upload the built executable from the dist folder + name: mimosa-executable + path: mimosa.exe # Upload the executable from the root directory diff --git a/M.I.M.O.S.A V3.exe b/M.I.M.O.S.A V3.exe deleted file mode 100644 index 57e2f1b..0000000 Binary files a/M.I.M.O.S.A V3.exe and /dev/null differ