diff --git a/packaging/remote/bootstrap.sh b/packaging/remote/bootstrap.sh index 9417bf4..803cdf4 100644 --- a/packaging/remote/bootstrap.sh +++ b/packaging/remote/bootstrap.sh @@ -49,6 +49,10 @@ fi source "$CONDA_DIR/etc/profile.d/conda.sh" # ── Step 2: conda env ──────────────────────────────────────── +# Accept Anaconda channel ToS (required by recent conda versions) +conda tos accept --override-channels --channel https://repo.anaconda.com/pkgs/main >/dev/null 2>&1 || true +conda tos accept --override-channels --channel https://repo.anaconda.com/pkgs/r >/dev/null 2>&1 || true + echo "::stage:: conda_env" if conda env list | awk '{print $1}' | grep -qx "$ENV_NAME"; then echo "[2/5] Conda env $ENV_NAME already exists"