diff --git a/dist/index.js b/dist/index.js index 7612bc7..8cfe4f9 100644 --- a/dist/index.js +++ b/dist/index.js @@ -163,6 +163,9 @@ function writeFeedToFile(feedUrl, existingFileLocation, tempFileLocation) { ] }); }); + xmlSource[1].configuration.push({ + packageSourceCredentials + }); // If NuGet fixes itself such that on Linux it can look for environment variables in the config file (it doesn't seem to work today), // use this for the value above // process.platform == 'win32' diff --git a/src/authutil.ts b/src/authutil.ts index 92378cd..53e14ad 100644 --- a/src/authutil.ts +++ b/src/authutil.ts @@ -172,6 +172,10 @@ function writeFeedToFile( }); }); + xmlSource[1].configuration.push({ + packageSourceCredentials + }); + // If NuGet fixes itself such that on Linux it can look for environment variables in the config file (it doesn't seem to work today), // use this for the value above // process.platform == 'win32'