From 4ebeff879ccb4fbf8349c25d85f2c10dd884a6b8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ga=C3=ABtan=20Lehmann?= Date: Thu, 19 Jan 2023 17:54:38 +0100 Subject: [PATCH] make cache usage optional (#13) --- action.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/action.yml b/action.yml index 9dc084b..bcf1dd4 100644 --- a/action.yml +++ b/action.yml @@ -8,7 +8,11 @@ inputs: version: description: "version of earthly to use." default: "latest" + use-cache: + description: "whether to use the cache to store earthly or not" + default: "true" runs: using: node16 main: dist/setup/index.js post: "dist/cache-save/index.js" + post-if: inputs.use-cache == 'true'