PythonistaGuild / TwitchIO

An Async Bot/API wrapper for Twitch made in Python.
https://twitchio.dev
MIT License
785 stars 163 forks source link

Rework GitHub Actions to correctly and sanely push to PyPi in a controlled manner #456

Closed AbstractUmbra closed 2 months ago

AbstractUmbra commented 2 months ago

Description

This PR reworks the current build and publish actions, removing the latter and incorporating it into the former in a conditional branch.

NOTE Due to how GitHub actions works, especially with this kind of release manipulation, there is no "testing" we can do. It will be a testing-in-production situation. I'll leave this in a draft state until @EvieePy (who owns TwitchIO on PyPi) and myself are on hand to triage and correct if issues arise.

The changes will now:

Checklist