From 56994f1afd457ad48bfd2c84801f1ce77ccfa448 Mon Sep 17 00:00:00 2001 From: "Ivan Zosimov (Akvelon INC)" Date: Mon, 21 Feb 2022 11:30:32 +0300 Subject: [PATCH] Change action.yml file Such inputs as 'cache' and 'cache-dependency-path' were added along with their descriptions. --- action.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/action.yml b/action.yml index 1db16c9..907b028 100644 --- a/action.yml +++ b/action.yml @@ -13,6 +13,12 @@ inputs: token: description: Used to pull node distributions from go-versions. Since there's a default, this is typically not supplied by the user. default: ${{ github.token }} + cache: + description: 'Used to specify whether go-modules caching is needed or not. Supported values: true, false.' + cache-dependency-path: + description: 'Used to specify the path to a dependency file: go.sum.' runs: using: 'node12' - main: 'dist/index.js' + main: 'dist/setup/index.js' + post: 'dist/cache-save/index.js' + post-if: success()