This commit is contained in:
Zhengyu Peng 2021-12-24 14:46:13 -05:00
parent 2559495e03
commit b9996bff83
2 changed files with 4 additions and 3 deletions

View File

@ -26,8 +26,9 @@ jobs:
pip install PySide6 psutil pyinstaller
- name: PyInstaller
run: |
pyinstaller .\software\pc\hexapod.spec
copy .\software\pc\mainwindow.ui .\hexapod\dist\hexapod\
cd software\pc
pyinstaller hexapod.spec
copy mainwindow.ui .\build\hexapod\
- name: Archive built module
uses: actions/upload-artifact@v2
if: success()

View File

@ -4,7 +4,7 @@ block_cipher = None
a = Analysis(['hexapod.py'],
pathex=['./hexapod'],
pathex=['./pc'],
binaries=[],
datas=[('./res', 'res')],
hiddenimports=[],