feat: add cache helpers

This commit is contained in:
Louis Seubert 2024-07-22 21:13:54 +02:00
commit 3d43ff4758
Signed by: louis9902
GPG key ID: 4B9DB28F826553BD
8 changed files with 532 additions and 1 deletions

9
cache.go Normal file
View 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("", "")
}