Automate releases and produce binaries for mac and linux
jacobdeichert opened this issue ยท 6 comments
I'll need to do some research on best practices here and how other projects do this.
FYI @jakedeichert, there is an action just to upload a release asset (doesn't support multiple release assets yet). https://github.com/marketplace/actions/upload-a-release-asset
@DrSensor i missed that one! I saw a few custom implementations others have done and recreated it myself. Though with the one you linked, it looks like it depends on also creating a release automatically (upload_url: ${{ steps.create_release.outputs.upload_url }}
)
My plan here is to manually create a new github release which will trigger an auto publish to crates.io + upload the binaries to the release.
I'm almost done. I just need to do a macos target tomorrow ๐
Bad news, macos-latest
doesn't include Rust by default ๐
Maybe installing rustup
manually might works ๐ค
Got macos building and attaching the binary to the release!
See the config here.
This task is now done ๐