Output Values

Mint tasks can output values which other tasks can use.

Write your output values to the $MINT_VALUES directory, using the desired key as the filename.

For example, to set the value for the key some-key, you'd write to $MINT_VALUES/some-key.

Example

tasks:
  - key: task1
    run: echo value1 > $MINT_VALUES/key1

  - key: task2
    run: echo ${{ tasks.task1.values.key1 }}