Skip to content

SWE-agent takes a GitHub issue and tries to automatically fix it, using your LM of choice. It can also be employed for offensive cybersecurity or competitive coding challenges. [NeurIPS 2024]

CI: Set VIRTUAL_ENV for uv

Kilian Lieret53bbb806504d
diff --git a/.github/workflows/build-docs.yaml b/.github/workflows/build-docs.yaml
index 28a61302..df53105d 100644
--- a/.github/workflows/build-docs.yaml
+++ b/.github/workflows/build-docs.yaml
@@ -30,6 +30,9 @@ jobs:
- name: Install uv
run: |
curl -LsSf https://astral.sh/uv/install.sh | sh
+ - name: Set the VIRTUAL_ENV variable for uv to work
+ run: |
+ echo "VIRTUAL_ENV=${Python_ROOT_DIR}" >> $GITHUB_ENV
- run: uv pip install mkdocs-material mkdocs-glightbox
- run: mkdocs gh-deploy --force