Skip to content

Commit b51daa9

Browse files
authored
Fix CI workflow: Use ../mvnw for assembly generation in spring-ai-docs (spring-projects#4072)
The CI was failing because the 'Generate assembly' step was trying to run ./mvnw from within the spring-ai-docs directory, but the Maven wrapper script only exists in the repository root. Fixed by changing './mvnw' to '../mvnw' to reference the script from the parent directory while maintaining the correct working directory for the assembly generation. Fixes the error: ./mvnw: No such file or directory
1 parent 8748a8d commit b51daa9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/continuous-integration.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ jobs:
6262

6363
- name: Generate assembly
6464
working-directory: spring-ai-docs
65-
run: ./mvnw --batch-mode assembly:single
65+
run: ../mvnw --batch-mode assembly:single
6666

6767
- name: Capture project version
6868
run: echo PROJECT_VERSION=$(mvn help:evaluate -Dexpression=project.version --quiet -DforceStdout) >> $GITHUB_ENV

0 commit comments

Comments
 (0)