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 pip install PySide6 psutil pyinstaller
- name: PyInstaller - name: PyInstaller
run: | run: |
pyinstaller .\software\pc\hexapod.spec cd software\pc
copy .\software\pc\mainwindow.ui .\hexapod\dist\hexapod\ pyinstaller hexapod.spec
copy mainwindow.ui .\build\hexapod\
- name: Archive built module - name: Archive built module
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v2
if: success() if: success()

View File

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