diff --git a/action/dist/index.js b/action/dist/index.js index 0d9853a..cd87d72 100644 --- a/action/dist/index.js +++ b/action/dist/index.js @@ -30754,7 +30754,7 @@ async function setup() { return } // Download the specific version of the tool, e.g. as a tarball - const pathToCLI = await tc.downloadTool(await getDownloadURL(version), undefined, token); + const pathToCLI = await tc.downloadTool(await getDownloadURL(version), undefined, `token ${token}`); // Expose the tool by adding it to the PATH core.addPath(pathToCLI) diff --git a/action/src/index.js b/action/src/index.js index 4683413..e9d6bd7 100644 --- a/action/src/index.js +++ b/action/src/index.js @@ -68,7 +68,7 @@ async function setup() { return } // Download the specific version of the tool, e.g. as a tarball - const pathToCLI = await tc.downloadTool(await getDownloadURL(version), undefined, token); + const pathToCLI = await tc.downloadTool(await getDownloadURL(version), undefined, `token ${token}`); // Expose the tool by adding it to the PATH core.addPath(pathToCLI)