mirror of
https://gitea.com/gitea/runner.git
synced 2026-11-05 23:05:45 +00:00
Allow to override location of action cache dir (#65)
Adds an explicit config option to specify the directory below which action contents will be cached. If left empty the previous location at `$XDG_CACHE_HOME/act` or `$HOME/.cache/act` will be used respectively. Required to resolve gitea/act_runner#235 Co-authored-by: Marius Zwicker <[email protected]> Reviewed-on: https://gitea.com/gitea/act/pulls/65 Reviewed-by: Jason Song <[email protected]> Co-authored-by: Marius Zwicker <[email protected]> Co-committed-by: Marius Zwicker <[email protected]>
This commit is contained in:
1 parent
8c56bd3aa5
commit
422cbdf446
4 files changed
+7
No files matched your search
@@ -54,6 +54,7 @@ type Input struct {
|
||||
replaceGheActionWithGithubCom []string
|
||||
replaceGheActionTokenWithGithubCom string
|
||||
matrix []string
|
||||
actionCachePath string
|
||||
}
|
||||
|
||||
func (i *Input) resolve(path string) string {
|
||||
|
||||
Reference in new issue
Block a user