From 907e625680f68c642bba63c1afe900ed29657adb Mon Sep 17 00:00:00 2001 From: Hk669 Date: Mon, 27 May 2024 23:01:44 +0530 Subject: [PATCH] pypi build --- .github/workflows/pypi.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/pypi.yml b/.github/workflows/pypi.yml index bf31704..e4b6135 100644 --- a/.github/workflows/pypi.yml +++ b/.github/workflows/pypi.yml @@ -29,7 +29,7 @@ jobs: - name: Publish to PyPI env: - TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }} - TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }} - shell: pwsh - run: twine upload dist/* \ No newline at end of file + TWINE_USERNAME: __token__ + TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }} + run: | + python -m twine upload --repository pypi dist/* \ No newline at end of file