Sha256: d285f49d40e1379ac8d5dc39b4be0be214f6b78eda7be8c7fc4a9d63f707c012
Contents?: true
Size: 967 Bytes
Versions: 17
Compression:
Stored size: 967 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
17 entries across 17 versions & 1 rubygems