From d856363713012824f3b25c2c3afe42b496cb7639 Mon Sep 17 00:00:00 2001 From: Michael Harms Date: Tue, 16 Jul 2024 14:54:40 -0700 Subject: [PATCH] adding new pypi publishing workflow --- .github/workflows/pypi-publish.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/pypi-publish.yml diff --git a/.github/workflows/pypi-publish.yml b/.github/workflows/pypi-publish.yml new file mode 100644 index 0000000..d0d5baf --- /dev/null +++ b/.github/workflows/pypi-publish.yml @@ -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