https://kotlinlang.org logo
#multiplatform
Title
# multiplatform
s

Shubham Singh

02/25/2023, 8:36 AM
Hi folks! Is there any guide for setting up a CI/CD pipeline using GitHub Actions for KMP projects? Or any example workflows? The problem I’m facing right now is that I just want to build an APK and publish it, but the build logs show that it’s also building all other platforms like Desktop, Web, Server, etc and that’s causing the workflow to run as long as 30-40 minutes every time I push a commit.
a

Arjan van Wieringen

02/25/2023, 9:06 AM
Don’t run build on root Gradle project.
s

Shubham Singh

02/25/2023, 9:08 AM
So.. something like this?
Copy code
cd android
.././gradlew :assembleRelease
Not sure 🤷
a

ayodele

02/25/2023, 9:11 AM
On the app example:
androidApp:assembleRelease
Depends on the folder hosting your android app
s

Shubham Singh

02/25/2023, 9:12 AM
It’s called
android
only Thanks for the help!
a

ayodele

02/25/2023, 9:14 AM
yep.
16 Views