Skip to content

Merge pull request #6427 from jenshnielsen/changelog_048 #43

Merge pull request #6427 from jenshnielsen/changelog_048

Merge pull request #6427 from jenshnielsen/changelog_048 #43

Workflow file for this run

name: Upload Python Package
on:
push:
tags:
- v*
permissions:
contents: read
jobs:
deploy:
runs-on: ubuntu-latest
environment: pypi-release-env
permissions:
id-token: write
steps:
- name: Harden Runner
uses: step-security/harden-runner@5c7944e73c4c2a096b17a9cb74d65b6c2bbafbde # v2.9.1
with:
egress-policy: audit
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: Set up Python
uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v5.2.0
with:
python-version: '3.10'
- name: Install build deps
run: pip install --upgrade pip setuptools wheel build
- name: Build
run: |
python -m build
- name: Install Twine
run: pip install twine
- name: Publish to pypi
uses: pypa/gh-action-pypi-publish@0ab0b79471669eb3a4d647e625009c62f9f3b241 # release/v1