Maybe a bit of a broad question, but I think this is relevant for any maintainer of python packages that uses github and could reduce their workload significantly, so hopefully the powers that be will let it stand.
Essentially, it seems to me that :
- Building & publishing wheels for python is nice, but sometimes they have to be specific to the operating system for them to work properly (i.e. built on a similar OS/Env)
- Github actions provides a wide range of OSes to run jobs on (for now, for free), so it could be used to build these wheels
- Github actions can be easily used to publish sidst via twine
So my question is:
- Is there a straight-forward way to build wheels for a bunch of environments (e.g. using the OS/env matrix in github actions) then publish them all via github actionse.g. by aggregating them in one place and then running some twine command? The issue seems to be that there's no way to communicated between the different envs/vms setup by github action.
I can think of various solutions involving e.g. an intermeidary s3 bucket, but I'm likely hugely mistaken in regard to how pypi and/or github actions work in this regard so there might be a very simple issue I'm glancing over.