Skip to content

Commit

Permalink
Merge pull request #10 from mraspaud/add_pypi_workflow
Browse files Browse the repository at this point in the history
Add sdist to pypi workflow
  • Loading branch information
mraspaud authored May 8, 2024
2 parents f00e529 + 6712cc3 commit 86c0b09
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/deploy-sdist.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Deploy sdist

on:
release:
types:
- published

jobs:
test:
runs-on: ubuntu-latest

steps:
- name: Checkout source
uses: actions/checkout@v4

- name: Create sdist
shell: bash -l {0}
run: python -m build -s

- name: Publish package to PyPI
if: github.event.action == 'published'
uses: pypa/[email protected]
with:
user: __token__
password: ${{ secrets.pypi_password }}

0 comments on commit 86c0b09

Please sign in to comment.