wip: needs tests
This commit is contained in:
parent
3d43ff4758
commit
09ef963ca3
3 changed files with 136 additions and 3 deletions
6
cache.go
6
cache.go
|
|
@ -3,7 +3,7 @@ package sdk
|
|||
import "git.geekeey.de/actions/sdk/cache"
|
||||
|
||||
func (c *Action) Cache() *cache.Client {
|
||||
c.env("ACTIONS_CACHE_URL")
|
||||
c.env("ACTIONS_RUNTIME_TOKEN")
|
||||
return cache.New("", "")
|
||||
token := c.env("ACTIONS_RUNTIME_TOKEN")
|
||||
url := c.env("ACTIONS_CACHE_URL")
|
||||
return cache.New(token, url)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue