diff --git a/action.yml b/action.yml index 4c1e06f..8ec65e9 100644 --- a/action.yml +++ b/action.yml @@ -5,6 +5,10 @@ inputs: description: 'Version of helm' required: true default: 'latest' + token: + description: 'Github token' + default: ${{ github.token }} + required: true outputs: helm-path: description: 'Path to the cached helm binary' diff --git a/lib/run.js b/lib/run.js index fce802f..b351e33 100644 --- a/lib/run.js +++ b/lib/run.js @@ -158,6 +158,7 @@ function run() { else if (!version.toLocaleLowerCase().startsWith('v')) { version = 'v' + version; } + core.debug(util.format("Downloading %s", version)); let cachedPath = yield downloadHelm(version); try { if (!process.env['PATH'].startsWith(path.dirname(cachedPath))) { diff --git a/src/run.ts b/src/run.ts index fccdd70..f5eaf9b 100644 --- a/src/run.ts +++ b/src/run.ts @@ -137,6 +137,7 @@ async function run() { version = 'v' + version; } + core.debug(util.format("Downloading %s",version)); let cachedPath = await downloadHelm(version); try {