Commit cfcf8c75 authored by Vadim Vlasov's avatar Vadim Vlasov

Update try_update_cache

parent 5cf6ac72
...@@ -15,6 +15,8 @@ module Fastlane ...@@ -15,6 +15,8 @@ module Fastlane
faraday.request :multipart faraday.request :multipart
faraday.request :url_encoded faraday.request :url_encoded
faraday.adapter Faraday.default_adapter faraday.adapter Faraday.default_adapter
faraday.options.timeout = 600
faraday.options.open_timeout = 10
end end
payload = { payload = {
...@@ -56,7 +58,7 @@ module Fastlane ...@@ -56,7 +58,7 @@ module Fastlane
default_value: ""), default_value: ""),
FastlaneCore::ConfigItem.new(key: :file_path, FastlaneCore::ConfigItem.new(key: :file_path,
env_name: "APPGATE_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| verify_block: proc do |value|
UI.user_error!("Could not find file at path '#{value}'") unless File.exist?(value) UI.user_error!("Could not find file at path '#{value}'") unless File.exist?(value)
end), end),
......
...@@ -2,10 +2,10 @@ module Fastlane ...@@ -2,10 +2,10 @@ module Fastlane
module Actions module Actions
class TryUpdateCacheAction < Action class TryUpdateCacheAction < Action
def self.run(params) def self.run(params)
if params[:ignore_cache] # if params[:ignore_cache]
UI.message("Skipping cache restoration.") # UI.message("Skipping cache restoration.")
return # return
end # end
branch = ENV['CI_COMMIT_BRANCH'] branch = ENV['CI_COMMIT_BRANCH']
allowed_update_branches = params[:allowed_update_branches] allowed_update_branches = params[:allowed_update_branches]
......
module Fastlane module Fastlane
module Furylion module Furylion
VERSION = "1.2.0" VERSION = "1.2.1"
end end
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