Skip to content

Commit 845b315

Browse files
create GitHub action
1 parent 90f0685 commit 845b315

File tree

2 files changed

+23
-0
lines changed

2 files changed

+23
-0
lines changed

.github/workflows/main.yml

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

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)