AstraLuma / xontrib-z

Tracks your most used directories, based on 'frecency'.
GNU General Public License v3.0
24 stars 16 forks source link

Simple releasing the PyPi package using Github Actions #18

Closed anki-code closed 3 years ago

anki-code commented 3 years ago

Hi! Just want to let you know that there is very easy way to release the PyPi package of xontrib using Github Actions:

  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 :)

AstraLuma commented 3 years ago

Thank you.

I have my own tools built on Cirrus CI and I'm writing a service to do this.