mirror of
https://gitea.com/gitea/act_runner.git
synced 2025-12-19 04:24:48 +00:00
Add: Actions Offline Mode(depend on act offline_mode)
act pull #2128: https://github.com/nektos/act/pull/2128
This commit is contained in:
@@ -52,6 +52,7 @@ cache:
|
||||
# If it's specified, act_runner will use this URL as the ACTIONS_CACHE_URL rather than start a server by itself.
|
||||
# The URL should generally end with "/".
|
||||
external_server: ""
|
||||
offline_mode: false
|
||||
|
||||
container:
|
||||
# Specifies the network to which the container will connect.
|
||||
|
||||
@@ -39,6 +39,7 @@ type Cache struct {
|
||||
Host string `yaml:"host"` // Host specifies the caching host.
|
||||
Port uint16 `yaml:"port"` // Port specifies the caching port.
|
||||
ExternalServer string `yaml:"external_server"` // ExternalServer specifies the URL of external cache server
|
||||
OfflineMode bool `yaml:"offline_mode"`
|
||||
}
|
||||
|
||||
// Container represents the configuration for the container.
|
||||
|
||||
Reference in New Issue
Block a user