From e48afeea56b91c1ffc9784bc5e092abaae7c16de Mon Sep 17 00:00:00 2001 From: dhanusharer Date: Mon, 9 Mar 2026 18:29:14 +0530 Subject: [PATCH] Add comment explaining two-step dependency installation in GitHub Action --- action.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/action.yml b/action.yml index 732929412651b..8b5ebe43afd22 100644 --- a/action.yml +++ b/action.yml @@ -67,6 +67,10 @@ runs: if [ "${{ inputs.install_project_dependencies }}" == "yes" ]; then VENV=$("$VENV_PYTHON" -c 'import sys;print(sys.prefix)') echo ::group::Installing project dependencies... + # Download dependencies first so they are stored locally before installation. + # Installing from local artifacts improves reproducibility in CI environments + # and makes debugging dependency resolution easier compared to using + # `pip install .` directly. "$VENV_PYTHON" -m pip download --dest="$VENV"/deps . "$VENV_PYTHON" -m pip install -U --find-links="$VENV"/deps "$VENV"/deps/* echo ::endgroup::