Skip to content

Commit

Permalink
Update nightlybuild.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
justaCasualCoder authored Sep 28, 2023
1 parent 8ec3dfa commit 58d5750
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/nightlybuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ on:
schedule:
- cron: '0 0 * * *' # Runs at midnight every day
workflow_dispatch: {}
push:
paths:
- '.github/workflows/nightlybuild.yml'

jobs:
build:
Expand All @@ -20,12 +23,12 @@ jobs:
python-version: '3.x' # Specify the Python version you need

- name: Install dependencies
run: pip install pyinstaller
run: pip install pyinstaller PySide6
- name: Install Heimdall
run: sudo apt install heimdall-flash -y

- name: Build executable
run: pyinstaller --onefile --noconsole --add-binary "/bin/heimdall:." --add-data "$(pwd)/python-logo-only.svg:." gui.py
run: pyinstaller --onefile --noconsole --add-binary "/bin/heimdall:." --add-data "$(pwd)/python-logo-only.svg:." gui.py && mv dist/gui dist/LinuxGUI
working-directory: ${{ github.workspace }}

- name: Create info file
Expand Down

0 comments on commit 58d5750

Please sign in to comment.