Skip to content

Merge pull request #6036 from jenshnielsen/jenshnielsen/changelog045 #40

Merge pull request #6036 from jenshnielsen/jenshnielsen/changelog045

Merge pull request #6036 from jenshnielsen/jenshnielsen/changelog045 #40

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@a4aa98b93cab29d9b1101a6143fb8bce00e2eac4 # v2.7.1
with:
egress-policy: audit
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
- name: Set up Python
uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.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@81e9d935c883d0b210363ab89cf05f3894778450 # release/v1