pyxui icon indicating copy to clipboard operation
pyxui copied to clipboard

Create publish-to-pypi.yml

Open mazdakdev opened this issue 2 years ago • 0 comments

Summary

I have added a GitHub Actions workflow to automate the publishing of this module to PyPI on releases for ease and convenience. Please note that I have not tested this workflow, so it is important for you to test it yourself. Additionally, you can modify the "publish-to-pypi.yml" file to suit your specific requirements. For example, you can customize it to publish on pushed commits that include a tag. You can find more information on how to do this in the official PyPI documentation.

How to Use

To use this workflow, you need to create an API token for PyPI. You can do this by visiting the PyPI account page. Once you have the API token, go to the Settings tab of your repository on GitHub, click on Secrets in the left sidebar, and add a secret named PYPI_API_TOKEN with the value set to your API token. Finally, you can test the workflow by using the workflow_dispatcher that I have created.

If you require any further information, please feel free to reach out to me.

mazdakdev avatar Jul 07 '23 14:07 mazdakdev