Hi, I have a very weird problem, when launching a ...
# gradle
a
Hi, I have a very weird problem, when launching a GitHub Action, gradle doesn't find a task that I can find myself locally,
publishToSonatype
, here's my workflow file and here's the result I'm just trying to publish all my modules to sonatype at once using a github action and it's very very hard. When using
./gradlew tasks
the task is there
j
Have you tried
:publishToSonatype
locally with the
:
in front? I presume that would also fail. I think the problem is here: https://github.com/Ayfri/PIXI-Kotlin/blob/master/build.gradle.kts#L39 Not sure if you need that
finalizedBy
part. But if, it should probably be something like
${it.path}:publishToSonatype
for each subproject (the task only exists in the subprojects I think). Since you already have things setup in
publish-conventions.gradle.kts
you can maybe remove the finalizedBy part.
a
Gradle says that it can't find the task
:publishToSonatype
in my subprojects
Do you have any other ideas of what might be wrong ?
I still don't personally