Skip to content

Commit

Permalink
Merge pull request #11 from harmsm/main
Browse files Browse the repository at this point in the history
adding new pypi publishing workflow
  • Loading branch information
harmsm authored Jul 16, 2024
2 parents 6f24386 + d856363 commit 6771b16
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/pypi-publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: ellipticbn

on:
release:
types: [ published ]

jobs:
pypi-publish:
name: Upload release to PyPI
runs-on: ubuntu-latest
environment:
name: pypi
url: https://pypi.org/p/ellipticbn
permissions:
id-token: write
steps:
- uses: actions/checkout@v4
- name: Set up python
uses: actions/setup-python@v5
- name: Install dependencies
run: |
pip install setuptools wheel build
- name : Build
run: |
python -m build
- name: Publish package distributions to PyPI
uses: pypa/gh-action-pypi-publish@release/v1

0 comments on commit 6771b16

Please sign in to comment.