Skip to content

Commit 9063b8d

Browse files
create GitHub action
1 parent 90f0685 commit 9063b8d

2 files changed

Lines changed: 22 additions & 0 deletions

File tree

.github/workflows/main.yml

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