Commit cfcf8c75 authored by Vadim Vlasov's avatar Vadim Vlasov

Update try_update_cache

parent 5cf6ac72
......@@ -15,6 +15,8 @@ module Fastlane
faraday.request :multipart
faraday.request :url_encoded
faraday.adapter Faraday.default_adapter
faraday.options.timeout = 600
faraday.options.open_timeout = 10
end
payload = {
......@@ -56,7 +58,7 @@ module Fastlane
default_value: ""),
FastlaneCore::ConfigItem.new(key: :file_path,
env_name: "APPGATE_FILE_PATH",
description: "Path to your build file",
description: "Path to your build file (APK or AAB)",
verify_block: proc do |value|
UI.user_error!("Could not find file at path '#{value}'") unless File.exist?(value)
end),
......
......@@ -2,10 +2,10 @@ module Fastlane
module Actions
class TryUpdateCacheAction < Action
def self.run(params)
if params[:ignore_cache]
UI.message("Skipping cache restoration.")
return
end
# if params[:ignore_cache]
# UI.message("Skipping cache restoration.")
# return
# end
branch = ENV['CI_COMMIT_BRANCH']
allowed_update_branches = params[:allowed_update_branches]
......
module Fastlane
module Furylion
VERSION = "1.2.0"
VERSION = "1.2.1"
end
end
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment