CICD github action build publish pypi、Release Tag #4260
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Add CI/CD build process, which includes the following tasks: compiling and building, releasing to test PyPI, testing with pytest, releasing to PyPI, and publishing a Release Tag.
your configuration env to github Repository secrets
using-secrets-in-github-actions
pypi
pypi token generate for docs publishers or publisher
Environment
Release Tag
release-action
managing-your-personal-access-tokens
增加CICD构建流程,包含了如下作业,编译构建、发布test pypi、测试pytest、发布pypi、发布Release Tag
需要配置仓库变量才能使用,可以在这里查看配置方法
using-secrets-in-github-actions
pypi
pypi token生成可以选择配置变量也可以选择pipy加入开发人员publisher
Environment