Skip to content

Commit 3faef8e

Browse files
committed
Fix cross-platform CI build dependency and PyInstaller command
1 parent 788f9de commit 3faef8e

2 files changed

Lines changed: 3 additions & 12 deletions

File tree

.github/workflows/build-cross-platform.yml

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -26,18 +26,10 @@ jobs:
2626
run: |
2727
python -m pip install --upgrade pip
2828
pip install -r requirements.txt
29-
pip install pyinstaller
3029
31-
- name: Build (Windows)
32-
if: runner.os == 'Windows'
33-
shell: pwsh
34-
run: |
35-
python -m PyInstaller build_exe.spec --clean
36-
37-
- name: Build (Linux/macOS)
38-
if: runner.os != 'Windows'
30+
- name: Build executable
3931
run: |
40-
pyinstaller council.py --name PolyCouncil --clean --noconfirm --windowed --onefile
32+
python -m PyInstaller council.py --name PolyCouncil --clean --noconfirm --windowed --onefile
4133
4234
- name: Package artifact (Windows)
4335
if: runner.os == 'Windows'

requirements.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
PySide6>=6.5.0
22
aiohttp>=3.8.0
33
requests>=2.28.0
4-
qdarktheme>=3.0.0
54
pyinstaller>=5.13.0
65
PyPDF2>=3.0.0
76
python-docx>=1.0.0
8-
markdown>=3.4.0
7+
markdown>=3.4.0

0 commit comments

Comments
 (0)