Skip to content

Commit e4619a2

Browse files
committed
python: Update for GH Actions
Signed-off-by: Daniel Schaefer <dhs@frame.work>
1 parent 4b4ac5e commit e4619a2

File tree

1 file changed

+15
-3
lines changed

1 file changed

+15
-3
lines changed

.github/workflows/software.yml

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -102,19 +102,31 @@ jobs:
102102
build-gui:
103103
name: Build GUI
104104
runs-on: windows-latest
105-
# runs-on: ubuntu-22.04
106105
steps:
107106
- uses: actions/checkout@v3
108107

109108
- name: Create Executable
110109
uses: Martin005/pyinstaller-action@main
111110
with:
112111
python_ver: '3.11'
113-
spec: ledmatrix_control.py #'src/build.spec'
112+
spec: python/framework16_inputmodule/cli.py #'src/build.spec'
114113
requirements: 'requirements.txt'
115-
upload_exe_with_name: 'ledmatrix_control.py'
114+
upload_exe_with_name: 'ledmatrixgui'
116115
options: --onefile, --windowed, --add-data 'res;res'
117116

117+
package-python:
118+
name: Package Python
119+
runs-on: ubuntu-22.04
120+
steps:
121+
- uses: actions/checkout@v3
122+
123+
- run: |
124+
cd python
125+
python3 -m pip install --upgrade build
126+
python3 -m pip install --upgrade hatch
127+
python3 -m pip install --upgrade twine
128+
python3 -m build
129+
118130
lints:
119131
name: Lints
120132
runs-on: ubuntu-22.04

0 commit comments

Comments
 (0)