Skip to content

Commit 2420699

Browse files
committed
Fix CI workflow: Use ../mvnw for assembly generation in spring-ai-docs
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 c893629 commit 2420699

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
@@ -61,7 +61,7 @@ jobs:
6161

6262
- name: Generate assembly
6363
working-directory: spring-ai-docs
64-
run: ./mvnw --batch-mode assembly:single
64+
run: ../mvnw --batch-mode assembly:single
6565

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

0 commit comments

Comments
 (0)