Skip to content

Commit c44e597

Browse files
committed
Add conda-pack to base when building one-key installer
1 parent 4eef012 commit c44e597

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/conda-pack-build.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ jobs:
8282
run: |
8383
echo Installing unilabos and dependencies to unilab environment...
8484
echo Using mamba for faster and more reliable dependency resolution...
85+
mamba install -n base conda-pack -c conda-forge -y
8586
mamba install -n unilab uni-lab::unilabos conda-pack -c uni-lab -c robostack-staging -c conda-forge -y
8687
8788
- name: Install conda-pack, unilabos and dependencies (Unix)
@@ -90,7 +91,8 @@ jobs:
9091
run: |
9192
echo "Installing unilabos and dependencies to unilab environment..."
9293
echo "Using mamba for faster and more reliable dependency resolution..."
93-
mamba install -n unilab uni-lab::unilabos conda-pack -c uni-lab -c robostack-staging -c conda-forge -y
94+
mamba install -n base conda-pack -c conda-forge -y
95+
mamba install -n unilab uni-lab::unilabos -c uni-lab -c robostack-staging -c conda-forge -y
9496
9597
- name: Get latest ros-humble-unilabos-msgs version (Windows)
9698
if: steps.should_build.outputs.should_build == 'true' && matrix.platform == 'win-64'
@@ -208,7 +210,7 @@ jobs:
208210
if: steps.should_build.outputs.should_build == 'true' && matrix.platform == 'win-64'
209211
run: |
210212
echo Packing unilab environment with conda-pack...
211-
mamba run --live-stream -n unilab conda pack -n unilab -o unilab-env-${{ matrix.platform }}.tar.gz --ignore-missing-files
213+
conda pack -n unilab -o unilab-env-${{ matrix.platform }}.tar.gz --ignore-missing-files
212214
echo Pack file created:
213215
dir unilab-env-${{ matrix.platform }}.tar.gz
214216
@@ -217,7 +219,7 @@ jobs:
217219
shell: bash
218220
run: |
219221
echo "Packing unilab environment with conda-pack..."
220-
mamba run --live-stream -n unilab conda pack -n unilab -o unilab-env-${{ matrix.platform }}.tar.gz --ignore-missing-files
222+
conda pack -n unilab -o unilab-env-${{ matrix.platform }}.tar.gz --ignore-missing-files
221223
echo "Pack file created:"
222224
ls -lh unilab-env-${{ matrix.platform }}.tar.gz
223225

0 commit comments

Comments
 (0)