You've already forked setup-dotnet
mirror of
https://github.com/actions/setup-dotnet.git
synced 2025-07-25 08:09:09 +07:00
Remove special case for gpr url
This commit is contained in:
@ -28,9 +28,6 @@ function writeFeedToFile(feedUrl, existingFileLocation, tempFileLocation) {
|
||||
if (!owner) {
|
||||
owner = github.context.repo.owner;
|
||||
}
|
||||
if (feedUrl.indexOf('nuget.pkg.github.com') > -1) {
|
||||
sourceUrl = 'https://nuget.pkg.github.com/' + owner + '/index.json';
|
||||
}
|
||||
if (!process.env.NUGET_AUTH_TOKEN || process.env.NUGET_AUTH_TOKEN == '') {
|
||||
throw new Error('The NUGET_AUTH_TOKEN environment variable was not provided. In this step, add the following: \r\nenv:\r\n NUGET_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}');
|
||||
}
|
||||
|
Reference in New Issue
Block a user