Call (Leaves)

Mint leaves are external task definitions that are similar to GitHub's Actions. Currently, only RWX can develop leaves. Third-party leaves will be coming soon.

To use a leaf, add call instead of run to your task definition.

View all available leaves at https://cloud.rwx.com/leaves

Example

tasks:
  - key: greeting
    call: mint/greeting 1.0.0
    with:
      name: world

The logs for this task will contain:

hello world!

Version Numbers

When calling a leaf, you must specify a version number.

You can only specify an exact version, you cannot specify a range or use any sort of semver notation.

In the near future, the Mint CLI will have a command available to update leaf references to the latest version.

Mint enforces semver. Leaves cannot add a required parameter or remove an available parameter without updating the major version number.

Available Leaves

See all available leaves at https://cloud.rwx.com/leaves