mamba-org/setup-micromamba

Install the micromamba package manager

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
condarc-filePath to a condarc file to use
condarcContents of a condarc file to use.
environment-filePath to the `environment.yml` or `.lock` file for the environment.
environment-nameName of the environment to create. Overrides the name in the environment file.
create-argsExtra arguments to pass to `micromamba create`. Also possible to list extra specs to install into the environment. For multiple packages, separate using spaces or use multiline syntax: ```yml create-args: package1 package2 # or create-args: >- package1 package2 ```
log-levelLog level for micromamba. One of `'trace'`, `'debug'`, `'info'`, `'warning'`, `'error'`, `'critical'`, `'off'`.
micromamba-versionVersion of micromamba to install. Must match with a micromamba version from the https://github.com/mamba-org/micromamba-releases repository or 'latest'.
micromamba-urlURL to download micromamba from.
download-micromambaIf `true` (the default), the action will download micromamba to `micromamba-binary-path`. If `false`, the action will not attempt to download micromamba, and you should provide a micromamba binary at `micromamba-binary-path` if micromamba is not already on PATH.
init-shellWhich shells to initialize micromamba in. Also possible to list multiple shells using spaces or use multiline syntax: ```yml init-shell: bash cmd.exe powershell # or init-shell: >- bash cmd.exe powershell ``` To initialize no shell, use `'none'`. Also supports other shells than bash, cmd.exe and powershell, but they are not tested.
generate-run-shellWhether to generate a custom shell script that allows to use it in the workflow file using `run: micromamba-shell {0}`
cache-downloadsWhether to cache downloads or not.
cache-downloads-keyCache key to use for caching.
cache-environmentWhether to cache the environment or not.
cache-environment-keyCache key to use for caching.
post-cleanupWhich kind of cleanup to do after the action. `'none'` - do not cleanup anything. `'shell-init'` - cleanup only the shell initialization scripts. `'environment'` - cleanup the installed environment and shell initialization scripts. `'all'` - cleanup everything including the whole micromamba root folder and the micromamba binary.
micromamba-root-pathPath to the micromamba root folder. Defaults to `~/micromamba`.
micromamba-binary-pathPath to the micromamba binary. Defaults to `~/micromamba-bin/micromamba`. Also specifies the path to the custom condarc which is located in the same folder as the micromamba binary.
namedescription
environment-pathPath to the created environment. Only populated if environment was created, i.e., `environment-file` or `environment-name` was specified.