deivit24 / python-steam-api

MIT License
25 stars 11 forks source link

Add automatic workflow for PyPI release #22

Closed mscheltienne closed 3 months ago

mscheltienne commented 3 months ago

PR independent from #23

This PR adds an automatic workflow that handles the PyPI release. It triggers on a GitHub release (e.g. if you create a release with target: main, it triggers with the branch main; if you create a release with target: maint/1.0, it triggers with the branch maint/1.0).

This workflow requires the PYPI_API_TOKEN to be added to your repository secrets. Instructions:

deivit24 commented 3 months ago

hey! This looks great!

Thanks for making these changes. Funny enough the company I work for just did a massive migration from Gitlab to GitHub and I was learning about GitHub actions and stuff like that.

Going to merge this and then update the read me a bit so people can use os.environ to get the STEAM_API_KEY