The GitHub Actions job "CI" on grails-core.git/grails8-groovy5-sb4 has 
succeeded.
Run started by GitHub user jamesfredley (triggered by jamesfredley).

Head commit for run:
b1c235ae3c6807cc4f13979af39a92d709934e12 / James Fredley 
<[email protected]>
ci: add groovy-joint-build init-script to sparse-checkout list

The Groovy joint-validation workflow runs ./gradlew --init-script 
$GITHUB_WORKSPACE/.github/scripts/groovy-joint-build.init.gradle when 
publishing Groovy to local Maven, but the preceding actions/checkout step uses 
sparse-checkout to fetch only dependencies.gradle. The init-script file 
therefore never lands in $GITHUB_WORKSPACE and Gradle aborts immediately with:

  The specified initialization script 
'/home/runner/work/grails-core/grails-core/.github/scripts/groovy-joint-build.init.gradle'
 does not exist.

Run that failed: 
https://github.com/apache/grails-core/actions/runs/24965425998/job/73099271184

This was missed when commit 558e132737 (`Replace Groovy joint-build awk patches 
with a Gradle init-script`) introduced the --init-script flag - the change was 
verified locally where the file naturally exists in the working tree, but CI's 
sparse-checkout was not updated to include it.

Add the init-script path to the sparse-checkout list and rename the step 
accordingly. A comment block documents both required paths so future edits do 
not regress.

Assisted-by: claude-code:claude-opus-4-7

Report URL: https://github.com/apache/grails-core/actions/runs/24965481426

With regards,
GitHub Actions via GitBox

Reply via email to