Sha256: e645a15e7f4d9cf0570aae3d895e364c1702c8b87aed65af385fe5a0518d4678
Contents?: true
Size: 968 Bytes
Versions: 106
Compression:
Stored size: 968 Bytes
Contents
require 'shellwords' module Fastlane module Actions class DeleteKeychainAction < Action def self.run(params) original = Actions.lane_context[Actions::SharedValues::ORIGINAL_DEFAULT_KEYCHAIN] Fastlane::Actions.sh("security default-keychain -s #{original}", log: false) unless original.nil? Fastlane::Actions.sh "security delete-keychain #{params[:name].shellescape}", log: false end def self.description "Delete keychains and remove them from the search list" end def self.available_options [ FastlaneCore::ConfigItem.new(key: :name, env_name: "KEYCHAIN_NAME", description: "Keychain name", optional: false) ] end def self.authors ["gin0606"] end def self.is_supported?(platform) true end end end end
Version data entries
106 entries across 106 versions & 1 rubygems