Skip to content

Commit 394e4b5

Browse files
create GitHub action
1 parent 90f0685 commit 394e4b5

File tree

2 files changed

+21
-0
lines changed

2 files changed

+21
-0
lines changed

.github/workflows/main.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: PyInstaller Action
2+
3+
on:
4+
push:
5+
6+
# workflow_dispatch:
7+
8+
jobs:
9+
pyinstaller-build:
10+
runs-on: macos-13
11+
env:
12+
PIP_USE_PEP517: 1
13+
steps:
14+
- name: Create Executable
15+
uses: sayyid5416/pyinstaller@v1
16+
with:
17+
python_ver: '3.11'
18+
spec: 'JParty.spec'
19+
requirements: 'requirements.txt'
20+
upload_exe_with_name: 'JParty_macos'

requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
--prefer-binary
12
PyQt6==6.9.1
23
requests==2.32.4
34
simpleaudio==1.0.4

0 commit comments

Comments
 (0)