cafehaine / xontrib-xlsd

xontrib-xlsd is the next gen ls command for xonsh shell, inspired by lsd.
GNU General Public License v3.0
21 stars 4 forks source link

Simple releasing PyPi package with Github Actions #13

Closed anki-code closed 3 years ago

anki-code commented 3 years ago

Hi! Great xontrib!

If you want simple way to release the xontrib to PyPi there is a way:

  1. Click Actions

Screenshot_20200916_115026

  1. Click Set up workflow on Publish Python Action

Screenshot_20200916_114928

  1. Commit the config without any changes

  2. Go to repo Settings - Secrets and add:

Screenshot_20200916_115332

  1. Now when you create Release and the Actions will publish the package to PyPi automatically (look at Actions link)

Enjoy :)

cafehaine commented 3 years ago

Thanks for the tip, will look into it!