axodotdev / cargo-dist

📦 shippable application packaging
https://axodotdev.github.io/cargo-dist/
Apache License 2.0
1.53k stars 73 forks source link

Start generating separate "local" jobs instead of using a build matrix #1532

Open fasterthanlime opened 2 weeks ago

fasterthanlime commented 2 weeks ago

We're running into GHA limitations: for example we cannot template steps.0.shell, see https://github.com/axodotdev/cargo-dist/pull/1509#discussion_r1831622985

This also means we cannot opt into bash (as opposed to sh) when installing dist itself (or cargo auditable, for that matter).

Part of #1509 become meaningful again (the whole GhaRunStep type) once we start doing some of the templating in dist itself.

It's also going to become a lot clearer what the CI pipeline is actually going to do, by just looking at the generated release.yml, rather than the actual steps being "hidden" in an artifact generated by plan.