diff --git a/.github/workflows/multi-platform-build.yml b/.github/workflows/multi-platform-build.yml index 13f877c8..9187331a 100644 --- a/.github/workflows/multi-platform-build.yml +++ b/.github/workflows/multi-platform-build.yml @@ -115,7 +115,11 @@ jobs: - name: Install rattler-build and anaconda-client if: steps.should_build.outputs.should_build == 'true' run: | - mamba install -n build-env --override-channels -c conda-forge rattler-build anaconda-client -y + if [[ "$RUNNER_OS" == "Windows" ]]; then + cmd //D //S //C "call \"%CONDA%\\condabin\\mamba.bat\" install -n build-env --override-channels -c conda-forge rattler-build anaconda-client -y" + else + mamba install -n build-env --override-channels -c conda-forge rattler-build anaconda-client -y + fi - name: Show environment info if: steps.should_build.outputs.should_build == 'true' diff --git a/.github/workflows/unilabos-conda-build.yml b/.github/workflows/unilabos-conda-build.yml index 0fc532b0..75ef3e48 100644 --- a/.github/workflows/unilabos-conda-build.yml +++ b/.github/workflows/unilabos-conda-build.yml @@ -108,7 +108,11 @@ jobs: - name: Install rattler-build and anaconda-client if: steps.should_build.outputs.should_build == 'true' run: | - mamba install -n build-env --override-channels -c conda-forge rattler-build anaconda-client -y + if [[ "$RUNNER_OS" == "Windows" ]]; then + cmd //D //S //C "call \"%CONDA%\\condabin\\mamba.bat\" install -n build-env --override-channels -c conda-forge rattler-build anaconda-client -y" + else + mamba install -n build-env --override-channels -c conda-forge rattler-build anaconda-client -y + fi - name: Show environment info if: steps.should_build.outputs.should_build == 'true'