Skip to content

0.2.3

0.2.3 #4

Workflow file for this run

name: Python CD
branding:

Check failure on line 3 in .github/workflows/python_cd.yaml

View workflow run for this annotation

GitHub Actions / Python CD

Invalid workflow file

The workflow is not valid. .github/workflows/python_cd.yaml (Line: 3, Col: 1): Unexpected value 'branding'
icon: "package"
color: "blue"
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__" -r publish --build
shell: bash