Class: Fastlane::Actions::DecryptFastlaneVarsAction
- Inherits:
-
Action
- Object
- Action
- Fastlane::Actions::DecryptFastlaneVarsAction
- Defined in:
- lib/fastlane/plugin/react_native_release/actions/decrypt_fastlane_vars.rb
Documentation collapse
- .authors ⇒ Object
- .available_options ⇒ Object
- .description ⇒ Object
- .details ⇒ Object
- .is_supported?(platform) ⇒ Boolean
- .return_value ⇒ Object
Class Method Summary collapse
Class Method Details
.authors ⇒ Object
54 55 56 57 |
# File 'lib/fastlane/plugin/react_native_release/actions/decrypt_fastlane_vars.rb', line 54 def self. # So no one will ever forget your contribution to fastlane :) You are awesome btw! ["cball", "isaiahgrey93"] end |
.available_options ⇒ Object
33 34 35 36 37 38 39 40 41 42 43 44 |
# File 'lib/fastlane/plugin/react_native_release/actions/decrypt_fastlane_vars.rb', line 33 def self. # Define all options your action supports. # Below a few examples [ FastlaneCore::ConfigItem.new(key: :set_env, env_name: "FL_DECRYPT_FASTLANE_VARS_SET_ENV", # The name of the environment variable description: "Sets the decrypted values in env", # a short description of this parameter type: Boolean, default_value: true) ] end |
.description ⇒ Object
24 25 26 |
# File 'lib/fastlane/plugin/react_native_release/actions/decrypt_fastlane_vars.rb', line 24 def self.description "Decrypts fastlane ENV vars from the encrypted repo. Optionally sets them in ENV." end |
.details ⇒ Object
28 29 30 31 |
# File 'lib/fastlane/plugin/react_native_release/actions/decrypt_fastlane_vars.rb', line 28 def self.details # Optional: # this is your chance to provide a more detailed description of this action end |
.is_supported?(platform) ⇒ Boolean
59 60 61 |
# File 'lib/fastlane/plugin/react_native_release/actions/decrypt_fastlane_vars.rb', line 59 def self.is_supported?(platform) [:ios, :android].include?(platform) end |
.return_value ⇒ Object
46 47 48 |
# File 'lib/fastlane/plugin/react_native_release/actions/decrypt_fastlane_vars.rb', line 46 def self.return_value # If your method provides a return value, you can describe here what it does end |
.run(params) ⇒ Object
7 8 9 10 11 12 13 14 15 16 17 18 |
# File 'lib/fastlane/plugin/react_native_release/actions/decrypt_fastlane_vars.rb', line 7 def self.run(params) env = other_action.cryptex( type: "export_env", key: Helper::ReactNativeReleaseHelper::FASTLANE_CRYPTEX_KEY, set_env: params[:set_env] ) UI.success('Decrypted fastlane vars') env end |