Skip to content

Commit 85223e6

Browse files
committed
fix(ci): Use absolute path for PYTHONPATH in upload docs workflow
The upload-adk-docs-to-vertex-ai-search workflow failed with ModuleNotFoundError: No module named 'adk_answering_agent' because the relative PYTHONPATH path did not resolve correctly under some CI environment execution states. Resolved by using the absolute ${{ github.workspace }} path. Change-Id: I18c72b671f33c134bd08601b4a97671a1b1b0fa9
1 parent 5b79666 commit 85223e6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/upload-adk-docs-to-vertex-ai-search.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,5 +51,5 @@ jobs:
5151
GCS_BUCKET_NAME: ${{ secrets.GCS_BUCKET_NAME }}
5252
ADK_DOCS_ROOT_PATH: /tmp/adk-docs
5353
ADK_PYTHON_ROOT_PATH: /tmp/adk-python
54-
PYTHONPATH: contributing/samples/adk_team
54+
PYTHONPATH: ${{ github.workspace }}/contributing/samples/adk_team
5555
run: python -m adk_answering_agent.upload_docs_to_vertex_ai_search

0 commit comments

Comments
 (0)