mirror of
https://github.com/actions/setup-dotnet.git
synced 2025-04-07 07:49:53 +00:00
Remove special case for gpr url
This commit is contained in:
@ -38,9 +38,6 @@ function writeFeedToFile(
|
||||
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(
|
||||
|
@ -10,7 +10,6 @@ import {chmodSync} from 'fs';
|
||||
import * as os from 'os';
|
||||
import * as path from 'path';
|
||||
import * as semver from 'semver';
|
||||
import * as util from 'util';
|
||||
|
||||
const IS_WINDOWS = process.platform === 'win32';
|
||||
|
||||
|
Reference in New Issue
Block a user