Skip to content

Upload Python Package #10

Upload Python Package

Upload Python Package #10

Workflow file for this run

name: Upload Python Package
on:
release:
types: [published]
permissions:
id-token: write # This is required for requesting the JWT
contents: read
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
- run: npx changelogithub
continue-on-error: true
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
- name: Set up Python 3.8
uses: actions/setup-python@v5
with:
python-version: '3.12'
- name: Build package
run: |
pipx run build
- name: Publish a Python distribution to PyPI
uses: pypa/gh-action-pypi-publish@release/v1