Skip to content

Build Executable (Linux) #7

Build Executable (Linux)

Build Executable (Linux) #7

Workflow file for this run

name: Build Executable (Linux)
on:
release:
types: [published]
permissions:
contents: write
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.11'
- name: Install dependencies
run: |
python -m venv venv
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Build package
run: |
source venv/bin/activate
pyside6-deploy -c pysidedeploy.spec
- name: Upload executable
run:
gh release upload ${{ github.event.release.tag_name }} bin/photo-prune
env:
GITHUB_TOKEN: ${{ github.TOKEN }}