-
Notifications
You must be signed in to change notification settings - Fork 0
45 lines (35 loc) · 1.02 KB
/
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
39
40
41
42
43
44
45
name: Package Application with PyInstaller
on:
push:
branches: [ main ]
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.12
uses: actions/setup-python@v4
with:
python-version: 3.12.6
- name: Install Poetry
run: |
python -m pip install --upgrade pip
pip install poetry
- name: Install Project Dependencies
run: poetry install
- name: Package Application
run: poetry run pyinstaller --onefile --name 1blckhrt-video_converter-v1.1.exe main.py
working-directory: src
- uses: actions/upload-artifact@v4
with:
name: built-application
path: src/dist/1blckhrt-video_converter-v1.1.exe
- name: Create GitHub Release
id: create_release
uses: softprops/[email protected]
with:
tag_name: v1.1
name: "Release v1.1"
files: src/dist/1blckhrt-video_converter-v1.1.exe
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}