provision-with-micromamba icon indicating copy to clipboard operation
provision-with-micromamba copied to clipboard

Not working out of the box with `cmd`

Open tdegeus opened this issue 2 years ago • 6 comments

Currently I need to activate the conda environment by hand on the cmd shell. Here are my instructions

    strategy:
      fail-fast: false
      matrix:
        runs-on: [windows-latest]

    name: ${{ matrix.runs-on }} • x64 ${{ matrix.args }} • py
    runs-on: ${{ matrix.runs-on }}

    steps:

    - name: Basic GitHub action setup
      uses: actions/checkout@v2

    - name: Set conda environment
      uses: mamba-org/provision-with-micromamba@main
      with:
        environment-file: environment.yaml
        environment-name: myenv

    - name: Build and install Python module
      shell: cmd /C CALL {0}
      run: |
        call micromamba activate myenv
        python -m pip install . -vv

tdegeus avatar Feb 24 '22 09:02 tdegeus