Output Values

Mint tasks can output values which other tasks can use.

To produce an output value:

  • write a value to a file in $MINT_VALUES
  • list the key under outputs.values

Example

tasks:
  - key: task1
    run: |
      echo key1=value1 >> $MINT_VALUES
    outputs:
      values:
        - key1
  - key: task2
    run: echo ${{ tasks.task1.values.key1 }}