Skip to content
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

Quarkus Generator for gradle projects generates broken GitHub-Workflow #44975

Closed
Joniator opened this issue Dec 6, 2024 · 2 comments · Fixed by #44983
Closed

Quarkus Generator for gradle projects generates broken GitHub-Workflow #44975

Joniator opened this issue Dec 6, 2024 · 2 comments · Fixed by #44983
Assignees
Labels
area/gradle Gradle area/kotlin kind/bug Something isn't working
Milestone

Comments

@Joniator
Copy link

Joniator commented Dec 6, 2024

Describe the bug

If you use code.quarkus.io to generate a starter template using gradle instead of maven, it generates a wrong .github/workflows/ci.yml when pushing the project to github.

Expected behavior

It generates a working workflow that builds the application with gradle

Actual behavior

The generated workflow configures the java action to use caching for maven, which fails because the project doesn't contain any pom.xml files.

How to Reproduce?

  1. Go to https://code.quarkus.io
  2. Select Gradle or Gradle with Kotlin DSL
  3. Generate and push to github.

Output of uname -a or ver

No response

Output of java -version

No response

Quarkus version or git rev

No response

Build tool (ie. output of mvnw --version or gradlew --version)

No response

Additional information

No response

@Joniator Joniator added the kind/bug Something isn't working label Dec 6, 2024
Copy link

quarkus-bot bot commented Dec 6, 2024

/cc @geoand (kotlin), @glefloch, @quarkusio/devtools

@geoand
Copy link
Contributor

geoand commented Dec 7, 2024

cc @gastaldi

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/gradle Gradle area/kotlin kind/bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants