Skip to content

Replace incorrect Makefile CI steps with Gradle build workflow#1

Merged
Timonso-1 merged 4 commits into
mainfrom
copilot/fix-github-actions-build-failure
Jun 23, 2026
Merged

Replace incorrect Makefile CI steps with Gradle build workflow#1
Timonso-1 merged 4 commits into
mainfrom
copilot/fix-github-actions-build-failure

Conversation

Copilot AI commented Jun 23, 2026

Copy link
Copy Markdown
Contributor

The failing build job was running a Makefile/autotools template (./configure, make) in a Gradle-based repository, causing an immediate hard failure. This updates the workflow to run the project’s actual Java/Gradle build path.

  • Workflow alignment with repository build system

    • Renamed workflow from Makefile CI to Gradle CI.
    • Removed ./configure, make, make check, and make distcheck steps.
    • Added Java toolchain setup and replaced execution with a single Gradle build command.
  • Runtime/toolchain configuration

    • Added actions/setup-java@v4 with Temurin JDK 21.
    • Kept build invocation minimal and deterministic via gradle build --no-daemon.
- name: Set up JDK 21
  uses: actions/setup-java@v4
  with:
    distribution: temurin
    java-version: "21"

- name: Build with Gradle
  run: gradle build --no-daemon

Copilot AI changed the title [WIP] Fix failing GitHub Actions job build Replace incorrect Makefile CI steps with Gradle build workflow Jun 23, 2026
Copilot AI requested a review from Timonso-1 June 23, 2026 14:02
@Timonso-1

Copy link
Copy Markdown
Owner

es soll Java 25 verwendet werden

@Timonso-1

Copy link
Copy Markdown
Owner

@copilot Kann man machen das der sobald neuer psuh bzw. pr merge der ein neuen release erstellt?

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the GitHub Actions workflow to run the repository’s Gradle-based build instead of a Makefile/autotools template, addressing CI failures caused by incorrect build steps.

Changes:

  • Renames the workflow to Gradle CI.
  • Replaces ./configure / make / make check / make distcheck with Java setup and a Gradle build invocation.
  • Adds actions/setup-java@v4 and enables Gradle caching.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread .github/workflows/makefile.yml
@Timonso-1 Timonso-1 merged commit d458219 into main Jun 23, 2026
3 of 4 checks passed
@Timonso-1 Timonso-1 deleted the copilot/fix-github-actions-build-failure branch June 23, 2026 14:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants