Class: Fastlane::Actions::LaneContextAction

Inherits:
Fastlane::Action show all
Defined in:
fastlane/lib/fastlane/actions/lane_context.rb

Constant Summary

Constants inherited from Fastlane::Action

Fastlane::Action::AVAILABLE_CATEGORIES, Fastlane::Action::RETURN_TYPES

Documentation collapse

Class Method Summary collapse

Methods inherited from Fastlane::Action

action_name, author, deprecated_notes, lane_context, method_missing, other_action, return_value, sample_return_value, shell_out_should_use_bundle_exec?

Class Method Details

.authorsObject


35
36
37
# File 'fastlane/lib/fastlane/actions/lane_context.rb', line 35

def self.authors
  ["KrauseFx"]
end

.available_optionsObject


23
24
25
# File 'fastlane/lib/fastlane/actions/lane_context.rb', line 23

def self.available_options
  []
end

.categoryObject


55
56
57
# File 'fastlane/lib/fastlane/actions/lane_context.rb', line 55

def self.category
  :misc
end

.descriptionObject


12
13
14
# File 'fastlane/lib/fastlane/actions/lane_context.rb', line 12

def self.description
  "Access lane context values"
end

.detailsObject


16
17
18
19
20
21
# File 'fastlane/lib/fastlane/actions/lane_context.rb', line 16

def self.details
  [
    "Access the fastlane lane context values.",
    "More information about how the lane context works: [https://docs.fastlane.tools/advanced/#lane-context](https://docs.fastlane.tools/advanced/#lane-context)."
  ].join("\n")
end

.example_codeObject


48
49
50
51
52
53
# File 'fastlane/lib/fastlane/actions/lane_context.rb', line 48

def self.example_code
  [
    'lane_context[SharedValues::BUILD_NUMBER]',
    'lane_context[SharedValues::IPA_OUTPUT_PATH]'
  ]
end

.is_supported?(platform) ⇒ Boolean

Returns:


39
40
41
# File 'fastlane/lib/fastlane/actions/lane_context.rb', line 39

def self.is_supported?(platform)
  true
end

.outputObject


27
28
29
# File 'fastlane/lib/fastlane/actions/lane_context.rb', line 27

def self.output
  []
end

.return_typeObject


31
32
33
# File 'fastlane/lib/fastlane/actions/lane_context.rb', line 31

def self.return_type
  :hash
end

.run(params) ⇒ Object


4
5
6
# File 'fastlane/lib/fastlane/actions/lane_context.rb', line 4

def self.run(params)
  Actions.lane_context
end

.step_textObject

We don't want to show this as step


44
45
46
# File 'fastlane/lib/fastlane/actions/lane_context.rb', line 44

def self.step_text
  nil
end