This is an automated email from the ASF dual-hosted git repository.

jdaugherty pushed a commit to branch 8.0.x
in repository https://gitbox.apache.org/repos/asf/grails-core.git

commit 4876810dbbd0f02ebf2e41c44e0bc21dd9a78aa6
Author: James Daugherty <[email protected]>
AuthorDate: Thu Oct 15 02:27:28 2026 +0100

    Bring the local action along in the Groovy canary's sparse checkout
    
    The Groovy snapshot canary fetches this repository with a sparse checkout
    of dependencies.gradle and its init script alone, so the
    gradle-cache-policy action that every Setup Gradle step now runs first
    was not there, and the job failed before building anything. The sparse
    checkout lists .github/actions as well, as the 7.x joint build's does.
---
 .github/workflows/groovy-snapshot-canary.yml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/.github/workflows/groovy-snapshot-canary.yml 
b/.github/workflows/groovy-snapshot-canary.yml
index 509363bca1..fc67a2aa15 100644
--- a/.github/workflows/groovy-snapshot-canary.yml
+++ b/.github/workflows/groovy-snapshot-canary.yml
@@ -50,12 +50,15 @@ jobs:
         #     the canary build reuses our Develocity / build-cache settings.
         # Both paths must be listed here; otherwise the init-script step fails
         # with "The specified initialization script ... does not exist."
+        #   - .github/actions: the local gradle-cache-policy action the Setup 
Gradle
+        #     step runs first; without it the job fails before building 
anything.
         uses: actions/[email protected]
         with:
           sparse-checkout-cone-mode: false
           sparse-checkout: |
             dependencies.gradle
             .github/scripts/groovy-snapshot-canary-build.init.gradle
+            .github/actions
       - name: "📝 Derive matching Apache Groovy branch from dependencies.gradle"
         id: groovy-branch
         run: |

Reply via email to