Ver código fonte

Update python-package.yml

myhloli 1 ano atrás
pai
commit
7a0d80760e
1 arquivos alterados com 6 adições e 1 exclusões
  1. 6 1
      .github/workflows/python-package.yml

+ 6 - 1
.github/workflows/python-package.yml

@@ -61,4 +61,9 @@ jobs:
         with:
           files: './dist/*.whl'
         env:
-          GITHUB_TOKEN: ${{ secrets.RELEASE_TOKEN }}
+          GITHUB_TOKEN: ${{ secrets.RELEASE_TOKEN }}
+      - name: Publish to PyPI
+        uses: pypa/gh-action-pypi-publish@release/v1
+        with:
+          user: __token__
+          password: ${{ secrets.PYPI_TOKEN }}