fastlane/lib/assets/ActionDetails.md.erb in fastlane-2.124.0.beta.20190528200017 vs fastlane/lib/assets/ActionDetails.md.erb in fastlane-2.124.0.beta.20190529200025

- old
+ new

@@ -49,9 +49,26 @@ <em id="parameters-legend-dynamic">* = default value is dependent on the user's system</em> <% end %><%# End of action.available_options... %> <hr /> +<% if action.output && action.output.kind_of?(Array) && action.output.length > 0 %> + +## Lane Variables + +Actions can communicate with each other using a shared hash `lane_context`, that can be accessed in other actions, plugins or your lanes: `lane_context[SharedValues:XYZ]`. The `<%= @action.action_name %>` action generates the following Lane Variables: + +SharedValue | Description +------------|------------- +<%- (action.output || []).each do |array_item| -%> + <%- next unless array_item.kind_of?(Array) -%> + <%- next if array_item.length != 2 -%> + `SharedValues::<%= array_item[0] %>` | <%= array_item[1] %> +<%- end %> +To get more information check the [Lanes documentation](https://docs.fastlane.tools/advanced/lanes/#lane-context). +<hr /> +<% end %><%# End of action.output... %> + ## Documentation To show the documentation in your terminal, run ```no-highlight fastlane action <%= action.action_name %>