Class: Fastlane::Actions::EnRemoveKeychainAction

Inherits:
Action
  • Object
show all
Defined in:
lib/fastlane/plugin/ciutils/actions/en_remove_keychain.rb

Documentation collapse

Class Method Summary collapse

Class Method Details

.authorsObject



23
24
25
# File 'lib/fastlane/plugin/ciutils/actions/en_remove_keychain.rb', line 23

def self.authors
  ["Nicolae Ghimbovschi"]
end

.descriptionObject



19
20
21
# File 'lib/fastlane/plugin/ciutils/actions/en_remove_keychain.rb', line 19

def self.description
  "Removes the keychain setup by en_setup_keychain"
end

.is_supported?(platform) ⇒ Boolean

Returns:

  • (Boolean)


27
28
29
# File 'lib/fastlane/plugin/ciutils/actions/en_remove_keychain.rb', line 27

def self.is_supported?(platform)
  true
end

.run(params) ⇒ Object



7
8
9
10
11
12
13
# File 'lib/fastlane/plugin/ciutils/actions/en_remove_keychain.rb', line 7

def self.run(params)
  begin
    keychain_name = Actions.lane_context[SharedValues::EN_KEYCHAIN_NAME]
    other_action.delete_keychain(name: keychain_name)
  rescue
  end
end