feat: add cache.offline_mode to reuse cached actions (#966)

Co-authored-by: silverwind <[email protected]>
Co-authored-by: silverwind <[email protected]>
Co-authored-by: TKaxv_7S <[email protected]>
Co-authored-by: techknowlogick <[email protected]>
Co-authored-by: TKaxv_7S <[email protected]>
Co-authored-by: TKaxv_7S <[email protected]>
Reviewed-on: https://gitea.com/gitea/runner/pulls/966
Reviewed-by: Nicolas <[email protected]>
Reviewed-by: silverwind <[email protected]>
Co-authored-by: Vi <[email protected]>
Co-committed-by: Vi <[email protected]>
This commit is contained in:
authored and silverwind committed 2026-05-20 14:09:39 +00:00
1 parent fab9714f9a
commit 2208e7ec63
6 files changed
+108 -46

No files matched your search

+1 -1
View File
@@ -30,7 +30,7 @@ type Config struct {
Actor string // the user that triggered the event
Workdir string // path to working directory
ActionCacheDir string // path used for caching action contents
ActionOfflineMode bool // when offline, use caching action contents
ActionOfflineMode bool // when offline, use cached action contents
BindWorkdir bool // bind the workdir to the job container
EventName string // name of event to run
EventPath string // path to JSON file to use for event.json in containers