Skip to content

Fix python version variable in ci #11

Fix python version variable in ci

Fix python version variable in ci #11

Workflow file for this run

name: Release

Check failure on line 1 in .github/workflows/release.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/release.yml

Invalid workflow file

(Line: 25, Col: 27): Unrecognized named-value: 'PYTHON_VERSION'. Located at position 1 within expression: PYTHON_VERSION
on:
release:
types: [published]
env:
PYTHON_VERSION: 3.13
jobs:
pypi-publish:
name: Publish to PyPI
environment: release
runs-on: ubuntu-latest
permissions:
# IMPORTANT: this permission is mandatory for trusted publishing
id-token: write
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up uv
uses: astral-sh/setup-uv@v5
with:
python-version: ${{ PYTHON_VERSION }}
- name: Build
run: uv build
- name: Publish package distributions to PyPI
run: uv publish -v