Skip to content

Commit

Permalink
CI: add job to deploy releases
Browse files Browse the repository at this point in the history
  • Loading branch information
ColmTalbot authored May 28, 2024
1 parent a358f91 commit 42855a4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ jobs:
python-version: "3.11"
- name: build release distributions
run: |
python -m pip install build
python -m build --sdist --wheel --outdir dist/ .
- name: upload wheel and tarball
uses: actions/upload-artifact@v4
Expand All @@ -40,4 +41,5 @@ jobs:
name: release-dists
path: dist/
- name: Publish release distributions to PyPI
if: startsWith(github.ref, 'refs/tags')
uses: pypa/gh-action-pypi-publish@release/v1

0 comments on commit 42855a4

Please sign in to comment.