Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
FuryLion Fastlane plugin
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Packages
Packages
Container Registry
Analytics
CI / CD Analytics
Repository Analytics
Value Stream Analytics
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Vadim Vlasov
FuryLion Fastlane plugin
Commits
4237dca4
Commit
4237dca4
authored
Aug 30, 2024
by
Vadim Vlasov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Cache path fixed
parent
d18024f1
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
lib/fastlane/plugin/furylion/actions/restore_cache.rb
lib/fastlane/plugin/furylion/actions/restore_cache.rb
+1
-1
lib/fastlane/plugin/furylion/actions/try_update_cache.rb
lib/fastlane/plugin/furylion/actions/try_update_cache.rb
+3
-3
lib/fastlane/plugin/furylion/version.rb
lib/fastlane/plugin/furylion/version.rb
+1
-1
No files found.
lib/fastlane/plugin/furylion/actions/restore_cache.rb
View file @
4237dca4
...
@@ -39,7 +39,7 @@ module Fastlane
...
@@ -39,7 +39,7 @@ module Fastlane
type:
String
),
type:
String
),
FastlaneCore
::
ConfigItem
.
new
(
key: :cache_storage_path
,
FastlaneCore
::
ConfigItem
.
new
(
key: :cache_storage_path
,
optional:
true
,
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"
,
env_name:
"CACHE_STORAGE_PATH"
,
description:
"Storage path from where the cache will be restored"
,
description:
"Storage path from where the cache will be restored"
,
type:
String
),
type:
String
),
...
...
lib/fastlane/plugin/furylion/actions/try_update_cache.rb
View file @
4237dca4
...
@@ -7,7 +7,7 @@ module Fastlane
...
@@ -7,7 +7,7 @@ module Fastlane
return
return
end
end
branch
=
`git rev-parse --abbrev-ref HEAD`
.
strip
branch
=
ENV
[
'CI_COMMIT_BRANCH'
]
allowed_update_branches
=
params
[
:allowed_update_branches
]
allowed_update_branches
=
params
[
:allowed_update_branches
]
directory
=
params
[
:directory
]
directory
=
params
[
:directory
]
cache_storage_path
=
params
[
:cache_storage_path
]
cache_storage_path
=
params
[
:cache_storage_path
]
...
@@ -23,7 +23,7 @@ module Fastlane
...
@@ -23,7 +23,7 @@ module Fastlane
UI
.
success
(
"Cache saved in
#{
cache_storage_path
}
"
)
UI
.
success
(
"Cache saved in
#{
cache_storage_path
}
"
)
else
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
end
end
...
@@ -50,7 +50,7 @@ module Fastlane
...
@@ -50,7 +50,7 @@ module Fastlane
FastlaneCore
::
ConfigItem
.
new
(
key: :cache_storage_path
,
FastlaneCore
::
ConfigItem
.
new
(
key: :cache_storage_path
,
description:
"Storage path where the cache will be saved"
,
description:
"Storage path where the cache will be saved"
,
optional:
true
,
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"
,
env_name:
"CACHE_STORAGE_PATH"
,
type:
String
),
type:
String
),
FastlaneCore
::
ConfigItem
.
new
(
key: :ignore_cache
,
FastlaneCore
::
ConfigItem
.
new
(
key: :ignore_cache
,
...
...
lib/fastlane/plugin/furylion/version.rb
View file @
4237dca4
module
Fastlane
module
Fastlane
module
Furylion
module
Furylion
VERSION
=
"1.1.
5
"
VERSION
=
"1.1.
6
"
end
end
end
end
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment