-
Notifications
You must be signed in to change notification settings - Fork 0
38 lines (32 loc) · 950 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
38
name: PyInstaller Action
on:
push:
branches:
- '**'
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
# Install PyGObject (required for gi module)
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'
python_ver: '3.10'
python_arch: x64
exe_path: ./dist
upload_exe_with_name: baldilevelsaver