Skip to content

Commit 3320b72

Browse files
committed
Force install specific commit with sync fix
1 parent a0a742e commit 3320b72

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

.github/workflows/ai-config-validation.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,9 @@ jobs:
5757
uv venv
5858
# Install dependencies without installing the package itself (to avoid dev dependency issues)
5959
uv pip install langchain langgraph langchain-anthropic fastapi "uvicorn[standard]" pydantic launchdarkly-server-sdk launchdarkly-server-sdk-ai numpy openai faiss-cpu PyMuPDF tiktoken streamlit requests python-dotenv PyYAML langchain-openai langchain-mcp-adapters beautifulsoup4 mcp semanticscholar rank-bm25 langchain-mistralai httpx boto3 langchain-aws
60-
uv pip install --no-cache git+https://x-access-token:${{ secrets.GH_PAT }}@github.com/launchdarkly-labs/scarlett_ai_configs_ci_cd-.git@main
60+
# Force fresh clone by clearing all caches
61+
rm -rf ~/.cache/uv ~/.cache/pip /tmp/pip-* || true
62+
uv pip install --no-cache --force-reinstall git+https://x-access-token:${{ secrets.GH_PAT }}@github.com/launchdarkly-labs/scarlett_ai_configs_ci_cd-.git@4e97b0d
6163
6264
- name: Validate required secrets
6365
run: |
@@ -162,7 +164,9 @@ jobs:
162164
uv venv
163165
# Install dependencies without installing the package itself (to avoid dev dependency issues)
164166
uv pip install langchain langgraph langchain-anthropic fastapi "uvicorn[standard]" pydantic launchdarkly-server-sdk launchdarkly-server-sdk-ai numpy openai faiss-cpu PyMuPDF tiktoken streamlit requests python-dotenv PyYAML langchain-openai langchain-mcp-adapters beautifulsoup4 mcp semanticscholar rank-bm25 langchain-mistralai httpx boto3 langchain-aws
165-
uv pip install --no-cache git+https://x-access-token:${{ secrets.GH_PAT }}@github.com/launchdarkly-labs/scarlett_ai_configs_ci_cd-.git@main
167+
# Force fresh clone by clearing all caches
168+
rm -rf ~/.cache/uv ~/.cache/pip /tmp/pip-* || true
169+
uv pip install --no-cache --force-reinstall git+https://x-access-token:${{ secrets.GH_PAT }}@github.com/launchdarkly-labs/scarlett_ai_configs_ci_cd-.git@4e97b0d
166170
167171
- name: Validate required secrets
168172
run: |
@@ -397,7 +401,9 @@ jobs:
397401
uv venv
398402
# Install dependencies without installing the package itself (to avoid dev dependency issues)
399403
uv pip install langchain langgraph langchain-anthropic fastapi "uvicorn[standard]" pydantic launchdarkly-server-sdk launchdarkly-server-sdk-ai numpy openai faiss-cpu PyMuPDF tiktoken streamlit requests python-dotenv PyYAML langchain-openai langchain-mcp-adapters beautifulsoup4 mcp semanticscholar rank-bm25 langchain-mistralai httpx boto3 langchain-aws
400-
uv pip install --no-cache git+https://x-access-token:${{ secrets.GH_PAT }}@github.com/launchdarkly-labs/scarlett_ai_configs_ci_cd-.git@main
404+
# Force fresh clone by clearing all caches
405+
rm -rf ~/.cache/uv ~/.cache/pip /tmp/pip-* || true
406+
uv pip install --no-cache --force-reinstall git+https://x-access-token:${{ secrets.GH_PAT }}@github.com/launchdarkly-labs/scarlett_ai_configs_ci_cd-.git@4e97b0d
401407
402408
- name: Validate required secrets
403409
run: |

0 commit comments

Comments
 (0)