Skip to content

Build Executable (Linux) #3

Build Executable (Linux)

Build Executable (Linux) #3

Workflow file for this run

name: Build Executable (Linux)
on:
release:
types: [published]
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 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_REF}} bin/photo-prune

Check failure on line 26 in .github/workflows/build-linux.yml

View workflow run for this annotation

GitHub Actions / Build Executable (Linux)

Invalid workflow file

The workflow is not valid. .github/workflows/build-linux.yml (Line: 26, Col: 11): Unexpected symbol: '$GITHUB_REF'. Located at position 1 within expression: $GITHUB_REF
env:
GITHUB_TOKEN: ${{ github.TOKEN }}