LouisCAD / Splitties

A collection of hand-crafted extensions for your Kotlin projects.
https://splitties.louiscad.com
Apache License 2.0
2.53k stars 159 forks source link

Check and publish from GitHub actions #223

Closed LouisCAD closed 5 years ago

LouisCAD commented 5 years ago

Closes #218

The publishToRepository task allows to publish all the Kotlin/Native artifacts that belong to the host (i.e. linux on Linux host, Mingw on Windows host, and iOS/macOS/watchOS/tvOS on macOS host).

To enable the publication of the targets that can be built from any host (JVM, JS, Android, Kotlin metadata/common and Kotlin multiplatform), the property named mpp.publishAll needs to be set to true (defaults to false).

AFAIK, the most cost efficient build machines run Linux, so I plan to enable mpp.publishAll when running on Linux, and use other hosts only for builds that Linux can't run.

jmfayard commented 5 years ago

@LouisCAD that's it, you have some Actions https://github.com/LouisCAD/Splitties/actions

To customize what it's going, read the friendly documentation:

LouisCAD commented 5 years ago

Thank you for the contribution, that's a good starting point for me.

I'll fix the compilation issue and very likely make a few tweaks to have a good release process.