jpillora / installer

One-liner for installing binaries from Github releases
https://i.jpillora.com/installer
MIT License
206 stars 52 forks source link

feat: support installing from a specific commit hash #39

Open smsunarto opened 10 months ago

smsunarto commented 10 months ago

We can use Github Actions to build the program for every commit and store it as an artifact that could later be fetched by the installer. This would be useful for easy testing prior to committing to a release.

jpillora commented 10 months ago

Store binaries in actions build artifacts? There can be multiple builds for a commit?

On Tue, 31 Oct 2023 at 6:15 AM Scott Sunarto @.***> wrote:

We can use Github Actions to build the program for every commit and store it as an artifact that could later be fetched by the installer. This would be useful for easy testing prior to committing to a release.

— Reply to this email directly, view it on GitHub https://github.com/jpillora/installer/issues/39, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAE2X45I2BB3RSYOJ3Y4UW3YB74EZAVCNFSM6AAAAAA6WQ76VCVHI2DSMVQWIX3LMV43ASLTON2WKOZRHE3DSMBUHA2DSNI . You are receiving this because you are subscribed to this thread.Message ID: @.***>

smsunarto commented 10 months ago

Store binaries in actions build artifacts? There can be multiple builds for a commit? On Tue, 31 Oct 2023 at 6:15 AM Scott Sunarto @.> wrote: We can use Github Actions to build the program for every commit and store it as an artifact that could later be fetched by the installer. This would be useful for easy testing prior to committing to a release. — Reply to this email directly, view it on GitHub <#39>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAE2X45I2BB3RSYOJ3Y4UW3YB74EZAVCNFSM6AAAAAA6WQ76VCVHI2DSMVQWIX3LMV43ASLTON2WKOZRHE3DSMBUHA2DSNI . You are receiving this because you are subscribed to this thread.Message ID: @.>

Yeah, you can just run the build as normal and dump the binaries using https://github.com/actions/upload-artifact