Mill's Cross-Platform Native Binaries via Github Actions
2025-02-02
The Mill project leverages Github Actions to build native binaries on various platforms (Mac, Windows, Linux) and upload them to Maven Central. A clever configuration separates the publishing of JVM-compatible artifacts from platform-specific native binaries, ensuring cross-platform compatibility. Custom `artifactName` and `jar` tasks generate versioned files with OS and CPU architecture suffixes, allowing users to select the appropriate executable for their environment.