setup-miniconda
    Preparing search index...

    Function condaExecutable

    • Find and return the first existing conda or mamba executable, throwing an error if none of the candidate locations exist on disk.

      Parameters

      • inputs: IActionInputs

        The parsed action inputs.

      • options: IDynamicOptions

        The current dynamic options.

      • Optionalsubcommand: string

        If provided, mamba is only used when it supports this subcommand.

      Returns string

      The absolute path to the found executable.

      If no conda or mamba executable exists at any candidate location.