Skip to content

Pre-downloads and caches the Gradle distribution#28247

Open
yuslepukhin wants to merge 3 commits intomainfrom
yuslepukhin/improve_java_ci
Open

Pre-downloads and caches the Gradle distribution#28247
yuslepukhin wants to merge 3 commits intomainfrom
yuslepukhin/improve_java_ci

Conversation

@yuslepukhin
Copy link
Copy Markdown
Member

This pull request updates the GitHub Actions workflow for Windows CUDA builds by adding a dedicated step to set up Gradle using the official Gradle action. This ensures that Gradle version 8.7 is reliably installed and configured in the workflow before subsequent steps execute.

Workflow improvements:

  • Added a Setup Gradle step using gradle/actions/setup-gradle@v4 with gradle-version: '8.7' to the Windows CUDA workflow, ensuring consistent Gradle setup for build and test jobs. [1] [2]

 before cmake --build runs. Makes subsequent runs
 faster due to the built-in Gradle cache.
 Eliminates the dependency on GitHub's
 release CDN being reachable at build time
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

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 Windows CUDA GitHub Actions workflow to ensure Gradle is installed and cached consistently before Java-related build/test steps run, improving reliability of Gradle-dependent tasks on self-hosted runners.

Changes:

  • Add a Setup Gradle step (via gradle/actions/setup-gradle@v4) to the Windows CUDA build job.
  • Add the same Setup Gradle step to the Windows CUDA test job.

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

Comment thread .github/workflows/windows_cuda.yml Outdated
Comment thread .github/workflows/windows_cuda.yml Outdated
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated 3 comments.


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

Comment thread .github/workflows/windows_cuda.yml Outdated
Comment thread .github/workflows/windows_cuda.yml Outdated
Comment thread .github/workflows/windows_cuda.yml Outdated
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