Skip to content

Support Python 3.12 and apply ruff as formatter #7

Support Python 3.12 and apply ruff as formatter

Support Python 3.12 and apply ruff as formatter #7

Workflow file for this run

name: Upload Python Package
on:
release:
types: [created]
jobs:
deploy:
runs-on: ubuntu-latest
steps:

Check failure on line 12 in .github/workflows/python_publish.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/python_publish.yml

Invalid workflow file

You have an error in your yaml syntax on line 12
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.x'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install poetry poetry-dynamic-versioning twine
- name: Build and publish
env:
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
run: |
poetry publish --build --username $TWINE_USERNAME --password $TWINE_PASSWORD