From 7bbe24fbc8b39f9f5b8d7e8a7c5d2c6b5bab796b Mon Sep 17 00:00:00 2001 From: Kshitiz-Mhto Date: Thu, 16 Mar 2023 18:23:26 +0545 Subject: [PATCH] publish to pypi --- .github/workflows/build-n-publish.yaml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-n-publish.yaml b/.github/workflows/build-n-publish.yaml index eeb384a..cbd197d 100644 --- a/.github/workflows/build-n-publish.yaml +++ b/.github/workflows/build-n-publish.yaml @@ -4,7 +4,7 @@ on: push: jobs: - build-wheels-N-package: + build-package-publish: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 @@ -36,3 +36,10 @@ jobs: run: | python -m build twine check --strict dist/* + + + - name: Publish package + uses: pypa/gh-action-pypi-publish@release/v1 + with: + user: __token__ + password: ${{ secrets.PYPI_TOKEN }}