axodotdev / cargo-dist

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

feat: autodetect buildjet runners to use their backend for rust cache #1129

Closed Gankra closed 2 weeks ago

Gankra commented 2 weeks ago

This is an alternative based on #1119 which instead of introducing a coarse-grained config, adds auto-detection for each individual runner based on the name containing "buildjet". This then feeds down through the github matrix, so the cache is hosted precisely per-platform.

Big thanks to @arlyon for the initial implementation and insights!

arlyon commented 2 weeks ago

Nice!