gh-action-pypi-publish:GitHub Action,用于将分发文件发布到PyPI

时间:2021-05-10 04:58:37
【文件属性】:
文件名称:gh-action-pypi-publish:GitHub Action,用于将分发文件发布到PyPI
文件大小:8KB
文件格式:ZIP
更新时间:2021-05-10 04:58:37
python workflow pypi upload actions PyPI发布GitHub Action 通过此操作,您可以将dist/目录中的上载到PyPI。 本文提出了一个简约的用法概述。 有关更详细的演练,请查看。 用法 要使用该操作,请将以下步骤添加到您的工作流文件中(例如.github/workflows/main.yml ) - name : Publish a Python distribution to PyPI uses : pypa/gh-action-pypi-publish@release/v1 with : user : __token__ password : ${{ secrets.PYPI_API_TOKEN }} 专家提示:代替使用分支指针(如master ,可以将Action的固定版本用于标记的版本或sha1 commit标识符。 这将使您的工作流程更安全且可重复性更好,从而使您免受突发和
【文件预览】:
gh-action-pypi-publish-master
----.gitignore(1KB)
----Dockerfile(537B)
----LICENSE.md(2KB)
----twine-upload.sh(2KB)
----.github()
--------FUNDING.yml(250B)
--------SECURITY.rst(300B)
----README.md(6KB)
----.yamllint(39B)
----action.yml(1KB)

网友评论