From 4d2f412fb9b810b6941aa281f8c421109c0adcde Mon Sep 17 00:00:00 2001 From: Sparisoma Viridi Date: Sun, 10 Nov 2024 08:43:56 +0700 Subject: [PATCH] Update python-publish.yml --- .github/workflows/python-publish.yml | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) diff --git a/.github/workflows/python-publish.yml b/.github/workflows/python-publish.yml index df49a3e..592c914 100644 --- a/.github/workflows/python-publish.yml +++ b/.github/workflows/python-publish.yml @@ -32,14 +32,8 @@ jobs: pip install build - name: Build package run: python -m build -# - name: Publish package -# uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29 -# with: -# user: __token__ -# password: ${{ secrets.PYPI_PASIR_ALL }} - - name: Publish to PyPI - env: - TWINE_USERNAME: __token__ - TWINE_PASSWORD: ${{ secrets.PYPI_PASIR_ALL }} - run: | - python -m twine upload --verbose dist/* + - name: Publish package + uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29 + with: + user: __token__ + password: ${{ secrets.PYPI_PASIR }}