-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Using GitHub Action for GraalVM doesn't generate reports for Quarkus apps #45447
Comments
Maybe you can dig in the action to tell us which reports they are expecting? We might have disabled the default reports or move them to another place, @zakkak will know more for sure. |
setup-graalvm depends on using the quarkus/core/deployment/src/main/java/io/quarkus/deployment/pkg/steps/NativeImageBuildStep.java Lines 834 to 835 in 25e8bfd
|
Could we avoid overriding it if already defined? Not sure how they define it though. And not sure either if it could cause issues for Quarkus to not have this around at the expected location. |
Or if it is needed by that name in that location, maybe the build step could make a copy of it at the end and put it where |
They pass it to the
Sounds a bit strange to have all quarkus builds do this just to support a feature of a github action. We would ideally need to detect if we are running in github (or even better if setup-graalvm is being used). The other thing we can do, is to add an option to either change the name/path of the file, or completely ommit setting it in Quarkus. |
Describe the bug
I'm not sure if this is a Quarkus problem or a GitHub Action for GraalVM problem, but
Expected behavior
I would expect to see a comment added to the PR. See this example using Spring Boot: edeandrea/summit-lab-spring-music#64 (comment)
Actual behavior
If I use this action to set up the JVM and then build a native executable by doing
./mvnw clean verify -Pnative
I end up getting a warning sayingUnable to find build output data to create a report. Are you sure this build job has used GraalVM Native Image?
See https://github.com/quarkusio/quarkus-super-heroes/actions/runs/12670766414/job/35311340396#step:9:2 as an example.
Quarkus version or git rev
3.17.5
The text was updated successfully, but these errors were encountered: