3 ms·
Could something similar be used to publish an artifact to Pypi?
by toomuchtodo 7y ago
Could something similar be used to publish an artifact to Pypi?
- TotempaaltJ 7y agohttps://github.com/marketplace/actions/pypi-publish https://github.com/marketplace/actions/pypi-publish seems it exists!
- toomuchtodo 7y agoBrilliant! Thank you! This will make my life just a tad bit easier for a project I admin.
- ikornaselur 7y agoI really like the idea of automating this whole process. While not generic to publishing to pypi, I was playing around with this process in a toy repo I have, where it builds a Rust/Python package, creates a release on Github if I bump the version number, build the package and publishes it on Pypi. It probably not the cleanest way to do it, but I liked having it "spelled out" in steps manually to play around and learn more about how to do this. You can see my workflow in the toy repo here: https://github.com/ikornaselur/img-utils/blob/master/.github/workflows/release.yml https://github.com/ikornaselur/img-utils/blob/master/.github...
- tracker1 7y agosince npm version creates a tag, I have an action for v* tags that will build/publish... have migrated a couple projects from travis-ci ... TFA is a bit mixed, you don't need to push to npmrc for this behavior though. (I did post this link in direct thread, copied here) https://gist.github.com/tracker1/fdd5ceab8f532afc3a05ab9c0bddebc1 https://gist.github.com/tracker1/fdd5ceab8f532afc3a05ab9c0bd...
- Latty 7y agoI am actively doing this for a project of mine: https://github.com/Lattyware/unrpa https://github.com/Lattyware/unrpa I also do a MyPy type check as well with the actions stuff. It's very similar to the GitLab CI stuff, if you have used that.