From 1366ecbccdeb928240eb357e1ac2a34fd2edf73f Mon Sep 17 00:00:00 2001 From: Krishna Kumar Date: Fri, 27 Oct 2023 18:01:42 -0500 Subject: [PATCH] Add PyPI autobuild v0.0.1 --- .github/workflows/pypi.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/pypi.yml diff --git a/.github/workflows/pypi.yml b/.github/workflows/pypi.yml new file mode 100644 index 0000000..1c3bda6 --- /dev/null +++ b/.github/workflows/pypi.yml @@ -0,0 +1,19 @@ +name: Publish to PyPI +on: + push: + tags: + - 'v[0-9]+.[0-9]+.[0-9]+' +jobs: + pypi-publish: + name: Upload release to PyPI + runs-on: ubuntu-latest + environment: + name: pypi + url: https://pypi.org/p/dsjobs + permissions: + id-token: write # IMPORTANT: this permission is mandatory for trusted publishing + steps: + # retrieve your distributions here + + - name: Publish package distributions to PyPI + uses: pypa/gh-action-pypi-publish@release/v1 \ No newline at end of file