From c44e597dc02be2d4c887195d07338c5c1e9bb74a Mon Sep 17 00:00:00 2001 From: Xuwznln <18435084+Xuwznln@users.noreply.github.com> Date: Mon, 13 Oct 2025 03:01:48 +0800 Subject: [PATCH] Add conda-pack to base when building one-key installer --- .github/workflows/conda-pack-build.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/conda-pack-build.yml b/.github/workflows/conda-pack-build.yml index d91f204e..8e998ce1 100644 --- a/.github/workflows/conda-pack-build.yml +++ b/.github/workflows/conda-pack-build.yml @@ -82,6 +82,7 @@ jobs: run: | echo Installing unilabos and dependencies to unilab environment... echo Using mamba for faster and more reliable dependency resolution... + mamba install -n base conda-pack -c conda-forge -y mamba install -n unilab uni-lab::unilabos conda-pack -c uni-lab -c robostack-staging -c conda-forge -y - name: Install conda-pack, unilabos and dependencies (Unix) @@ -90,7 +91,8 @@ jobs: run: | echo "Installing unilabos and dependencies to unilab environment..." echo "Using mamba for faster and more reliable dependency resolution..." - mamba install -n unilab uni-lab::unilabos conda-pack -c uni-lab -c robostack-staging -c conda-forge -y + mamba install -n base conda-pack -c conda-forge -y + mamba install -n unilab uni-lab::unilabos -c uni-lab -c robostack-staging -c conda-forge -y - name: Get latest ros-humble-unilabos-msgs version (Windows) if: steps.should_build.outputs.should_build == 'true' && matrix.platform == 'win-64' @@ -208,7 +210,7 @@ jobs: if: steps.should_build.outputs.should_build == 'true' && matrix.platform == 'win-64' run: | echo Packing unilab environment with conda-pack... - mamba run --live-stream -n unilab conda pack -n unilab -o unilab-env-${{ matrix.platform }}.tar.gz --ignore-missing-files + conda pack -n unilab -o unilab-env-${{ matrix.platform }}.tar.gz --ignore-missing-files echo Pack file created: dir unilab-env-${{ matrix.platform }}.tar.gz @@ -217,7 +219,7 @@ jobs: shell: bash run: | echo "Packing unilab environment with conda-pack..." - mamba run --live-stream -n unilab conda pack -n unilab -o unilab-env-${{ matrix.platform }}.tar.gz --ignore-missing-files + conda pack -n unilab -o unilab-env-${{ matrix.platform }}.tar.gz --ignore-missing-files echo "Pack file created:" ls -lh unilab-env-${{ matrix.platform }}.tar.gz