version: '2.0'

test_echo:
  type: direct
  input:
    - input_1
  output:
    out_1: <% $.task1_output_1 %>
    out_2: <% $.task2_output_2 %>
    out_3: <% $.input_1 %>
  tasks:
    my_echo_test:
      action: std.echo output='just a string'
      publish:
        task1_output_1: 'task1_output_1_value'
        task1_output_2: 'task1_output_2_value'
      on-success:
        - my_echo_test_2

    my_echo_test_2:
      action: std.echo output='just a string'
      publish:
        task2_output_1: 'task2_output_1_value'
        task2_output_2: 'task2_output_2_value'