-
Notifications
You must be signed in to change notification settings - Fork 0
37 lines (31 loc) · 937 Bytes
/
pyinstaller.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
name: PyInstaller Action
on:
push:
branches:
- '**' # Trigger on any push
jobs:
build:
runs-on: ubuntu-22.04
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Set up Python 3.10
uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
sudo apt-get update
sudo apt-get install -y libgirepository1.0-dev python3-gi
- name: Run PyInstaller
uses: Martin005/[email protected]
with:
spec: baldilevelsaver.py
requirements: requirements.txt
options: '--windowed --onefile --clean --hidden-import=gi'
python_ver: '3.10'
python_arch: x64
exe_path: ./dist
upload_exe_with_name: baldilevelsaver