-
-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug] Using nested actions from Gradle doesn't work #1694
Comments
Noticed by @mareklangiewicz. |
I suspect we'd need to adjust Line 23 in a5b842c
|
That's known and will be fixed by #1608. |
repositories {
maven {
...
metadataSources {
ignoreGradleMetadataRedirection()
}
}
} |
@Vampire
Maybe it's some kind of gradle safety feature checking the .pom |
Ah, it is the pom, was tricked by "metadata". Then it is #1609 that will fix it. And the work-around is to disable pom usage for now using repositories {
maven {
...
metadataSources {
artifact()
}
}
} |
That doesn't work either. From the stacktrace I can see that gradle probably keeps failing on this line: |
Stop using |
@Vampire sorry, I missed any mention of Maven Local. How is it related to this ticket? Regarding the bug, I've just merged a nice refactoring from @Vampire that will help avoiding such bugs in the future. Next steps:
|
It was implicit and coming from my gut feeling. :-D My work-around does work, I tried it. |
) Part of #1694. Adds a reproducer of the issue.
@mareklangiewicz the issue should be gone, we now have this in the POM:
please confirm it works fine in your project! Thanks @Vampire for your help 🙇 |
Component
Action
Use an action that is not in some repo's root directory, from a Gradle project:
implementation("gradle:actions__setup-gradle:v4")
Expected
Works like with Kotlin Scripting.
Actual
Reproducer: #1693
Workaround, if exists
repositories { maven { ... metadataSources { artifact() } } }
The text was updated successfully, but these errors were encountered: