Missing /index.json restored

This commit is contained in:
Alex Mullans
2019-10-03 18:00:43 -07:00
parent 70528ac007
commit 2f00ce2a3e
4 changed files with 38 additions and 17 deletions

View File

@ -41,7 +41,7 @@ function writeFeedToFile(
owner = github.context.repo.owner;
}
if (feedUrl.indexOf('nuget.pkg.github.com') > -1) {
sourceUrl = 'https://nuget.pkg.github.com/' + owner;
sourceUrl = 'https://nuget.pkg.github.com/' + owner + '/index.json';
}
if (!process.env.NUGET_AUTH_TOKEN || process.env.NUGET_AUTH_TOKEN == '') {