chore: update path in workflow #11
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 }} |