feat: add cache helpers
This commit is contained in:
parent
db684e73f8
commit
3d43ff4758
8 changed files with 532 additions and 1 deletions
9
cache.go
Normal file
9
cache.go
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
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("", "")
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue