Skip to content

Setting up miniforge and a specific python version #379

@javierggt

Description

@javierggt

Hi,

I am trying to setup and environment using miniforge (latest) and a specific python version (3.11). In the following workflow, the python-version argument is ignored, and I get python 3.12. If I remove the miniforge-version line, then I get python 3.11, but I would like to use miniforge.

on:
  repository_dispatch:
    types:
      - miniforge-test

jobs:
  build:
    runs-on: ubuntu-latest
    name: Setup Miniforge
    steps:
    - name: Setup Conda Environment
      uses: conda-incubator/setup-miniconda@v3
      with:
        miniforge-version: latest
        python-version: 3.11
    - name: Env List
      run: |
        conda config --show channels
        conda list

I'm not doing anything wrong, am I?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions