@ -100029,15 +100029,25 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
} ) : function ( o , v ) {
} ) : function ( o , v ) {
o [ "default" ] = v ;
o [ "default" ] = v ;
} ) ;
} ) ;
var _ _importStar = ( this && this . _ _importStar ) || function ( mod ) {
var _ _importStar = ( this && this . _ _importStar ) || ( function ( ) {
var ownKeys = function ( o ) {
ownKeys = Object . getOwnPropertyNames || function ( o ) {
var ar = [ ] ;
for ( var k in o ) if ( Object . prototype . hasOwnProperty . call ( o , k ) ) ar [ ar . length ] = k ;
return ar ;
} ;
return ownKeys ( o ) ;
} ;
return function ( mod ) {
if ( mod && mod . _ _esModule ) return mod ;
if ( mod && mod . _ _esModule ) return mod ;
var result = { } ;
var result = { } ;
if ( mod != null ) for ( var k in mod ) if ( k !== "default" && Object . prototype . hasOwnProperty . call ( mod , k ) ) _ _createBinding ( result , mod , k ) ;
if ( mod != null ) for ( var k = ownKeys ( mod ) , i = 0 ; i < k . length ; i ++ ) if ( k [ i ] !== "default" ) _ _createBinding ( result , mod , k [ i ] ) ;
_ _setModuleDefault ( result , mod ) ;
_ _setModuleDefault ( result , mod ) ;
return result ;
return result ;
} ;
} ;
} ) ( ) ;
Object . defineProperty ( exports , "__esModule" , ( { value : true } ) ) ;
Object . defineProperty ( exports , "__esModule" , ( { value : true } ) ) ;
exports . configAuthentication = void 0 ;
exports . configAuthentication = configAuthentication ;
const fs = _ _importStar ( _ _nccwpck _require _ _ ( 7147 ) ) ;
const fs = _ _importStar ( _ _nccwpck _require _ _ ( 7147 ) ) ;
const path = _ _importStar ( _ _nccwpck _require _ _ ( 1017 ) ) ;
const path = _ _importStar ( _ _nccwpck _require _ _ ( 1017 ) ) ;
const core = _ _importStar ( _ _nccwpck _require _ _ ( 2186 ) ) ;
const core = _ _importStar ( _ _nccwpck _require _ _ ( 2186 ) ) ;
@ -100050,7 +100060,6 @@ function configAuthentication(feedUrl, existingFileLocation = '', processRoot =
const tempNuGetConfig = path . resolve ( processRoot , '../' , 'nuget.config' ) ;
const tempNuGetConfig = path . resolve ( processRoot , '../' , 'nuget.config' ) ;
writeFeedToFile ( feedUrl , existingNuGetConfig , tempNuGetConfig ) ;
writeFeedToFile ( feedUrl , existingNuGetConfig , tempNuGetConfig ) ;
}
}
exports . configAuthentication = configAuthentication ;
function isValidKey ( key ) {
function isValidKey ( key ) {
return /^[\w\-.]+$/i . test ( key ) ;
return /^[\w\-.]+$/i . test ( key ) ;
}
}
@ -100216,13 +100225,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
} ) : function ( o , v ) {
} ) : function ( o , v ) {
o [ "default" ] = v ;
o [ "default" ] = v ;
} ) ;
} ) ;
var _ _importStar = ( this && this . _ _importStar ) || function ( mod ) {
var _ _importStar = ( this && this . _ _importStar ) || ( function ( ) {
var ownKeys = function ( o ) {
ownKeys = Object . getOwnPropertyNames || function ( o ) {
var ar = [ ] ;
for ( var k in o ) if ( Object . prototype . hasOwnProperty . call ( o , k ) ) ar [ ar . length ] = k ;
return ar ;
} ;
return ownKeys ( o ) ;
} ;
return function ( mod ) {
if ( mod && mod . _ _esModule ) return mod ;
if ( mod && mod . _ _esModule ) return mod ;
var result = { } ;
var result = { } ;
if ( mod != null ) for ( var k in mod ) if ( k !== "default" && Object . prototype . hasOwnProperty . call ( mod , k ) ) _ _createBinding ( result , mod , k ) ;
if ( mod != null ) for ( var k = ownKeys ( mod ) , i = 0 ; i < k . length ; i ++ ) if ( k [ i ] !== "default" ) _ _createBinding ( result , mod , k [ i ] ) ;
_ _setModuleDefault ( result , mod ) ;
_ _setModuleDefault ( result , mod ) ;
return result ;
return result ;
} ;
} ;
} ) ( ) ;
Object . defineProperty ( exports , "__esModule" , ( { value : true } ) ) ;
Object . defineProperty ( exports , "__esModule" , ( { value : true } ) ) ;
exports . restoreCache = void 0 ;
exports . restoreCache = void 0 ;
const promises _1 = _ _nccwpck _require _ _ ( 3977 ) ;
const promises _1 = _ _nccwpck _require _ _ ( 3977 ) ;
@ -100287,15 +100306,26 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
} ) : function ( o , v ) {
} ) : function ( o , v ) {
o [ "default" ] = v ;
o [ "default" ] = v ;
} ) ;
} ) ;
var _ _importStar = ( this && this . _ _importStar ) || function ( mod ) {
var _ _importStar = ( this && this . _ _importStar ) || ( function ( ) {
var ownKeys = function ( o ) {
ownKeys = Object . getOwnPropertyNames || function ( o ) {
var ar = [ ] ;
for ( var k in o ) if ( Object . prototype . hasOwnProperty . call ( o , k ) ) ar [ ar . length ] = k ;
return ar ;
} ;
return ownKeys ( o ) ;
} ;
return function ( mod ) {
if ( mod && mod . _ _esModule ) return mod ;
if ( mod && mod . _ _esModule ) return mod ;
var result = { } ;
var result = { } ;
if ( mod != null ) for ( var k in mod ) if ( k !== "default" && Object . prototype . hasOwnProperty . call ( mod , k ) ) _ _createBinding ( result , mod , k ) ;
if ( mod != null ) for ( var k = ownKeys ( mod ) , i = 0 ; i < k . length ; i ++ ) if ( k [ i ] !== "default" ) _ _createBinding ( result , mod , k [ i ] ) ;
_ _setModuleDefault ( result , mod ) ;
_ _setModuleDefault ( result , mod ) ;
return result ;
return result ;
} ;
} ;
} ) ( ) ;
Object . defineProperty ( exports , "__esModule" , ( { value : true } ) ) ;
Object . defineProperty ( exports , "__esModule" , ( { value : true } ) ) ;
exports . isCacheFeatureAvailable = exports . getNuGetFolderPath = void 0 ;
exports . getNuGetFolderPath = void 0 ;
exports . isCacheFeatureAvailable = isCacheFeatureAvailable ;
const cache = _ _importStar ( _ _nccwpck _require _ _ ( 7799 ) ) ;
const cache = _ _importStar ( _ _nccwpck _require _ _ ( 7799 ) ) ;
const core = _ _importStar ( _ _nccwpck _require _ _ ( 2186 ) ) ;
const core = _ _importStar ( _ _nccwpck _require _ _ ( 2186 ) ) ;
const exec = _ _importStar ( _ _nccwpck _require _ _ ( 1514 ) ) ;
const exec = _ _importStar ( _ _nccwpck _require _ _ ( 1514 ) ) ;
@ -100360,7 +100390,6 @@ function isCacheFeatureAvailable() {
core . warning ( 'The runner was not able to contact the cache service. Caching will be skipped' ) ;
core . warning ( 'The runner was not able to contact the cache service. Caching will be skipped' ) ;
return false ;
return false ;
}
}
exports . isCacheFeatureAvailable = isCacheFeatureAvailable ;
/ * *
/ * *
* Returns this action runs on GitHub Enterprise Server or not .
* Returns this action runs on GitHub Enterprise Server or not .
* /
* /
@ -100425,13 +100454,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
} ) : function ( o , v ) {
} ) : function ( o , v ) {
o [ "default" ] = v ;
o [ "default" ] = v ;
} ) ;
} ) ;
var _ _importStar = ( this && this . _ _importStar ) || function ( mod ) {
var _ _importStar = ( this && this . _ _importStar ) || ( function ( ) {
var ownKeys = function ( o ) {
ownKeys = Object . getOwnPropertyNames || function ( o ) {
var ar = [ ] ;
for ( var k in o ) if ( Object . prototype . hasOwnProperty . call ( o , k ) ) ar [ ar . length ] = k ;
return ar ;
} ;
return ownKeys ( o ) ;
} ;
return function ( mod ) {
if ( mod && mod . _ _esModule ) return mod ;
if ( mod && mod . _ _esModule ) return mod ;
var result = { } ;
var result = { } ;
if ( mod != null ) for ( var k in mod ) if ( k !== "default" && Object . prototype . hasOwnProperty . call ( mod , k ) ) _ _createBinding ( result , mod , k ) ;
if ( mod != null ) for ( var k = ownKeys ( mod ) , i = 0 ; i < k . length ; i ++ ) if ( k [ i ] !== "default" ) _ _createBinding ( result , mod , k [ i ] ) ;
_ _setModuleDefault ( result , mod ) ;
_ _setModuleDefault ( result , mod ) ;
return result ;
return result ;
} ;
} ;
} ) ( ) ;
var _ _importDefault = ( this && this . _ _importDefault ) || function ( mod ) {
var _ _importDefault = ( this && this . _ _importDefault ) || function ( mod ) {
return ( mod && mod . _ _esModule ) ? mod : { "default" : mod } ;
return ( mod && mod . _ _esModule ) ? mod : { "default" : mod } ;
} ;
} ;
@ -100713,18 +100752,28 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
} ) : function ( o , v ) {
} ) : function ( o , v ) {
o [ "default" ] = v ;
o [ "default" ] = v ;
} ) ;
} ) ;
var _ _importStar = ( this && this . _ _importStar ) || function ( mod ) {
var _ _importStar = ( this && this . _ _importStar ) || ( function ( ) {
var ownKeys = function ( o ) {
ownKeys = Object . getOwnPropertyNames || function ( o ) {
var ar = [ ] ;
for ( var k in o ) if ( Object . prototype . hasOwnProperty . call ( o , k ) ) ar [ ar . length ] = k ;
return ar ;
} ;
return ownKeys ( o ) ;
} ;
return function ( mod ) {
if ( mod && mod . _ _esModule ) return mod ;
if ( mod && mod . _ _esModule ) return mod ;
var result = { } ;
var result = { } ;
if ( mod != null ) for ( var k in mod ) if ( k !== "default" && Object . prototype . hasOwnProperty . call ( mod , k ) ) _ _createBinding ( result , mod , k ) ;
if ( mod != null ) for ( var k = ownKeys ( mod ) , i = 0 ; i < k . length ; i ++ ) if ( k [ i ] !== "default" ) _ _createBinding ( result , mod , k [ i ] ) ;
_ _setModuleDefault ( result , mod ) ;
_ _setModuleDefault ( result , mod ) ;
return result ;
return result ;
} ;
} ;
} ) ( ) ;
var _ _importDefault = ( this && this . _ _importDefault ) || function ( mod ) {
var _ _importDefault = ( this && this . _ _importDefault ) || function ( mod ) {
return ( mod && mod . _ _esModule ) ? mod : { "default" : mod } ;
return ( mod && mod . _ _esModule ) ? mod : { "default" : mod } ;
} ;
} ;
Object . defineProperty ( exports , "__esModule" , ( { value : true } ) ) ;
Object . defineProperty ( exports , "__esModule" , ( { value : true } ) ) ;
exports . run = void 0 ;
exports . run = run ;
const core = _ _importStar ( _ _nccwpck _require _ _ ( 2186 ) ) ;
const core = _ _importStar ( _ _nccwpck _require _ _ ( 2186 ) ) ;
const installer _1 = _ _nccwpck _require _ _ ( 2574 ) ;
const installer _1 = _ _nccwpck _require _ _ ( 2574 ) ;
const fs = _ _importStar ( _ _nccwpck _require _ _ ( 7147 ) ) ;
const fs = _ _importStar ( _ _nccwpck _require _ _ ( 7147 ) ) ;
@ -100805,7 +100854,6 @@ async function run() {
core . setFailed ( error . message ) ;
core . setFailed ( error . message ) ;
}
}
}
}
exports . run = run ;
function getVersionFromGlobalJson ( globalJsonPath ) {
function getVersionFromGlobalJson ( globalJsonPath ) {
let version = '' ;
let version = '' ;
const globalJson = json5 _1 . default . parse (
const globalJson = json5 _1 . default . parse (