| condarc-file | Path to a condarc file to use
| — | — |
| condarc | Contents of a condarc file to use.
| — | — |
| environment-file | Path to the `environment.yml` or `.lock` file for the environment.
| — | — |
| environment-name | Name of the environment to create. Overrides the name in the environment file.
| — | — |
| create-args | Extra 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-level | Log level for micromamba.
One of `'trace'`, `'debug'`, `'info'`, `'warning'`, `'error'`, `'critical'`, `'off'`.
| — | — |
| micromamba-version | Version of micromamba to install.
Must match with a micromamba version from the https://github.com/mamba-org/micromamba-releases repository or 'latest'.
| — | — |
| micromamba-url | URL to download micromamba from.
| — | — |
| download-micromamba | If `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-shell | Which 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-shell | Whether to generate a custom shell script that allows to use it in the workflow file using `run: micromamba-shell {0}`
| — | — |
| cache-downloads | Whether to cache downloads or not.
| — | — |
| cache-downloads-key | Cache key to use for caching.
| — | — |
| cache-environment | Whether to cache the environment or not.
| — | — |
| cache-environment-key | Cache key to use for caching.
| — | — |
| post-cleanup | Which 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-path | Path to the micromamba root folder.
Defaults to `~/micromamba`.
| — | — |
| micromamba-binary-path | Path 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.
| — | — |