class Fastlane::Actions::CarthageCachePublishAction
Public Class Methods
available_options()
click to toggle source
# File lib/fastlane/plugin/carthage_cache/actions/carthage_cache_publish.rb, line 17 def self.available_options [ FastlaneCore::ConfigItem.new(key: :bucket, env_name: "CARTHAGE_CACHE_BUCKET", description: "Amazon S3 bucket name which caches your Carthage build", optional: false, type: String) ] end
description()
click to toggle source
# File lib/fastlane/plugin/carthage_cache/actions/carthage_cache_publish.rb, line 9 def self.description %q{Upload Carthage cache to Amazon S3} end
is_supported?(platform)
click to toggle source
# File lib/fastlane/plugin/carthage_cache/actions/carthage_cache_publish.rb, line 27 def self.is_supported?(platform) [:ios, :mac, :tvos, :watchos].include?(platform) end
run(params)
click to toggle source
# File lib/fastlane/plugin/carthage_cache/actions/carthage_cache_publish.rb, line 4 def self.run(params) UI.message("Uploading Carthage cache to Amazon S3...") sh "bundle exec carthage_cache publish --bucket-name #{params[:bucket]}" end