-
Notifications
You must be signed in to change notification settings - Fork 27
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
Fail nicely if dependency-submission
and setup-gradle
are used together in the same Job
#14
Comments
I had this error with Gradle 8.2 as well and found by moving the dependency review submission to a separate job it worked. The submission action does not depend on any build steps, so it can run in parallel with the build. I started with the sample job definition provided and had to add the proper Java version setup as well as making |
That indeed fixes it. Thanks for the tip! Still, I feel it i's a bug: it makes sense to combine the two in one workflow and the documentation does not state you cannot. |
dependency-submission
and setup-gradle
steps together in the same Job
Thanks for the report. We should certainly make this work, or improve error reporting when you attempt to use |
dependency-submission
and setup-gradle
steps together in the same Jobdependency-submission
and setup-gradle
are used together in the same Job
dependency-submission
and setup-gradle
are used together in the same Jobdependency-submission
and setup-gradle
are used together in the same Job
Thanks for the quick and thorough follow-up! |
I'm trying to get dependency submission to work through the PR yonadev/yona-server#1289, but it fails with this error:
The dependency submission task is defined as follows:
The action to build the project is successful and is defined straight before the dependency submission. That looks as follows:
We are running Gradle 7.5.1
Your help is appreciated!
The text was updated successfully, but these errors were encountered: