Skip to content

Commit

Permalink
test 7
Browse files Browse the repository at this point in the history
  • Loading branch information
FireMarshmellow committed Nov 24, 2023
1 parent 44fd86f commit 76fc15b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Binary file removed M.I.M.O.S.A V3.exe
Binary file not shown.

0 comments on commit 76fc15b

Please sign in to comment.