crystal-lang / crystal

The Crystal Programming Language
https://crystal-lang.org
Apache License 2.0
19.32k stars 1.61k forks source link

Actual nightly releases on Windows #14256

Open straight-shoota opened 7 months ago

straight-shoota commented 7 months ago

We're currently not building actual nightly releases on Windows. The download link on https://crystal-lang.org/install/nightlies/ points to the artifact from the most recent successful build from master. This is largely fine, but it's not an actual release build because those are only triggered on tags and maintenance branches.

To fix this properly, I'm suggesting the following changes:

  1. Separate the release builds into a dedicated workflow (this is for compatibility with https://nightly.link).
  2. Add a nightly schedule to the release workflow.
  3. (optional) Upload release artifacts to https://artifacts.crystal-lang.org like on other platforms.

Ref: https://github.com/crystal-lang/crystal-website/pull/587#issuecomment-1912193357

Ping @HertzDevil @oprypin I'd like to hear your thoughts on this.

HertzDevil commented 7 months ago

Not directly related, but Artifacts v4 finally allows you to download artifacts across repositories, so we could move some or all of these steps into distribution-scripts