Skip to content

Commit

Permalink
Add PyPI upload workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Nick-Hall committed Jul 14, 2024
1 parent 3d860ed commit 63d3992
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/pypi-upload.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: PyPI upload

on: workflow_dispatch

jobs:
pypi-publish:
name: upload release to PyPI
runs-on: ubuntu-latest
environment: release
permissions:
id-token: write
steps:
- uses: actions/checkout@v4
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install gettext
- name: Build package distributions
run: |
python3 setup.py sdist bdist_wheel
- name: Publish package distributions to PyPI
uses: pypa/gh-action-pypi-publish@release/v1

0 comments on commit 63d3992

Please sign in to comment.