Commit 4237dca4 authored by Vadim Vlasov's avatar Vadim Vlasov

Cache path fixed

parent d18024f1
......@@ -39,7 +39,7 @@ module Fastlane
type: String),
FastlaneCore::ConfigItem.new(key: :cache_storage_path,
optional: true,
default_value: "#{Dir.home}/Data/Cache/#{ENV['CI_PROJECT_PATH_SLUG']}/Library",
default_value: "#{Dir.home}/Data/Cache/#{ENV['CI_PROJECT_PATH']}/Library",
env_name: "CACHE_STORAGE_PATH",
description: "Storage path from where the cache will be restored",
type: String),
......
......@@ -7,7 +7,7 @@ module Fastlane
return
end
branch = `git rev-parse --abbrev-ref HEAD`.strip
branch = ENV['CI_COMMIT_BRANCH']
allowed_update_branches = params[:allowed_update_branches]
directory = params[:directory]
cache_storage_path = params[:cache_storage_path]
......@@ -23,7 +23,7 @@ module Fastlane
UI.success("Cache saved in #{cache_storage_path}")
else
UI.message("Cache not updated as the branch is not in the allowed update list")
UI.message("Cache not updated as the branch (#{branch}) is not in the allowed update list")
end
end
......@@ -50,7 +50,7 @@ module Fastlane
FastlaneCore::ConfigItem.new(key: :cache_storage_path,
description: "Storage path where the cache will be saved",
optional: true,
default_value: "#{Dir.home}/Data/Cache/#{ENV['CI_PROJECT_PATH_SLUG']}/Library",
default_value: "#{Dir.home}/Data/Cache/#{ENV['CI_PROJECT_PATH']}/Library",
env_name: "CACHE_STORAGE_PATH",
type: String),
FastlaneCore::ConfigItem.new(key: :ignore_cache,
......
module Fastlane
module Furylion
VERSION = "1.1.5"
VERSION = "1.1.6"
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