mirror of
https://code.forgejo.org/forgejo/runner.git
synced 2025-08-11 17:50:58 +00:00
Allow to override location of action cache dir (#1863)
Adds an option to specify the directory below which actions and host workspaces will be stored. If left empty the previous location at $XDG_CACHE_HOME/act or $HOME/.cache/act will be used respectively. Co-authored-by: Casey Lee <cplee@nektos.com>
This commit is contained in:
parent
67717d9a14
commit
51b627de2a
4 changed files with 7 additions and 0 deletions
|
@ -54,6 +54,7 @@ type Input struct {
|
|||
replaceGheActionWithGithubCom []string
|
||||
replaceGheActionTokenWithGithubCom string
|
||||
matrix []string
|
||||
actionCachePath string
|
||||
}
|
||||
|
||||
func (i *Input) resolve(path string) string {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue