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

Federico Amura

09/25/2023, 5:38 PM
I generate the AAR file of my library running the command ./gradlew sharedbundleReleaseAar anyone knows how to create a github action to execute that command an generate a release on my repo?
p

Piotr Prus

09/25/2023, 7:35 PM
you can use any command by calling:
Copy code
- name: Run gradle task
        run: ./gradlew :app:myTask
when it comes to release, what do you mean exactly? For publishing/releasing the kmp lib you can check : https://github.com/touchlab/KMMBridge
f

Federico Amura

09/25/2023, 7:36 PM
i dont know too much about the github actions
how should i set the setps for being able to build the project for android and ios?
p

Piotr Prus

09/25/2023, 7:39 PM
This is very general question. Did you go through these tutorials, docs and samples? https://kotlinlang.org/docs/getting-started.html There is a lot of materials there
f

Federico Amura

09/25/2023, 7:40 PM
I have my library ready in kmm. And currently I generate my aar from the terminal with the command I put above. But I want to do the same from github actions.
p

Piotr Prus

09/26/2023, 5:24 AM
As I wrote, the command will generate the aar. What do you want to do with this file later? Keep in artifacts? Send to another repo? Store somewhere?
8 Views