Skip to content

0.48.12

0.48.12 #89

Workflow file for this run

name: Python CD
on:
release:
types: [ published ]
jobs:
publish-pypi-package:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout Repository
uses: actions/checkout@v3
with:
token: ${{ secrets.GITHUB_TOKEN }}
- name: Verify the tag version in the pyproject.toml
run: grep -q "version = \"${{ github.event.release.tag_name }}\"" pyproject.toml || exit 1
shell: bash
- uses: ./.github/actions/python_prepare
- name: Build and Publish
run: poetry publish -p ${{ secrets.PYPI_TOKEN }} -u "__token__" --build
shell: bash