@ -34,7 +34,7 @@ module.exports =
/******/ // the startup function
/******/ // the startup function
/******/ function startup ( ) {
/******/ function startup ( ) {
/******/ // Load entry module and return exports
/******/ // Load entry module and return exports
/******/ return _ _webpack _require _ _ ( 396 ) ;
/******/ return _ _webpack _require _ _ ( 501 ) ;
/******/ } ;
/******/ } ;
/******/
/******/
/******/ // run startup
/******/ // run startup
@ -36715,70 +36715,7 @@ exports.ProxyTracerProvider = ProxyTracerProvider;
/***/ } ) ,
/***/ } ) ,
/* 395 */ ,
/* 395 */ ,
/* 396 */
/* 396 */ ,
/***/ ( function ( _ _unusedmodule , exports , _ _webpack _require _ _ ) {
"use strict" ;
var _ _createBinding = ( this && this . _ _createBinding ) || ( Object . create ? ( function ( o , m , k , k2 ) {
if ( k2 === undefined ) k2 = k ;
var desc = Object . getOwnPropertyDescriptor ( m , k ) ;
if ( ! desc || ( "get" in desc ? ! m . _ _esModule : desc . writable || desc . configurable ) ) {
desc = { enumerable : true , get : function ( ) { return m [ k ] ; } } ;
}
Object . defineProperty ( o , k2 , desc ) ;
} ) : ( function ( o , m , k , k2 ) {
if ( k2 === undefined ) k2 = k ;
o [ k2 ] = m [ k ] ;
} ) ) ;
var _ _setModuleDefault = ( this && this . _ _setModuleDefault ) || ( Object . create ? ( function ( o , v ) {
Object . defineProperty ( o , "default" , { enumerable : true , value : v } ) ;
} ) : function ( o , v ) {
o [ "default" ] = v ;
} ) ;
var _ _importStar = ( this && this . _ _importStar ) || function ( mod ) {
if ( mod && mod . _ _esModule ) return mod ;
var result = { } ;
if ( mod != null ) for ( var k in mod ) if ( k !== "default" && Object . prototype . hasOwnProperty . call ( mod , k ) ) _ _createBinding ( result , mod , k ) ;
_ _setModuleDefault ( result , mod ) ;
return result ;
} ;
var _ _awaiter = ( this && this . _ _awaiter ) || function ( thisArg , _arguments , P , generator ) {
function adopt ( value ) { return value instanceof P ? value : new P ( function ( resolve ) { resolve ( value ) ; } ) ; }
return new ( P || ( P = Promise ) ) ( function ( resolve , reject ) {
function fulfilled ( value ) { try { step ( generator . next ( value ) ) ; } catch ( e ) { reject ( e ) ; } }
function rejected ( value ) { try { step ( generator [ "throw" ] ( value ) ) ; } catch ( e ) { reject ( e ) ; } }
function step ( result ) { result . done ? resolve ( result . value ) : adopt ( result . value ) . then ( fulfilled , rejected ) ; }
step ( ( generator = generator . apply ( thisArg , _arguments || [ ] ) ) . next ( ) ) ;
} ) ;
} ;
var _ _importDefault = ( this && this . _ _importDefault ) || function ( mod ) {
return ( mod && mod . _ _esModule ) ? mod : { "default" : mod } ;
} ;
Object . defineProperty ( exports , "__esModule" , { value : true } ) ;
const core = _ _importStar ( _ _webpack _require _ _ ( 470 ) ) ;
const constants _1 = _ _webpack _require _ _ ( 694 ) ;
const restore _1 = _ _importDefault ( _ _webpack _require _ _ ( 778 ) ) ;
function runRestoreAction ( ) {
return _ _awaiter ( this , void 0 , void 0 , function * ( ) {
if ( core . getInput ( constants _1 . Inputs . SaveOnAnyFailure ) != "" ) {
core . warning ( ` ${ constants _1 . Inputs . SaveOnAnyFailure } value is passed in the input, this input is invalid for the restore-only action and hence will be ignored ` ) ;
}
if ( core . getInput ( constants _1 . Inputs . UploadChunkSize ) != "" ) {
core . warning ( ` ${ constants _1 . Inputs . UploadChunkSize } value is passed in the input, this input is invalid for the restore-only action and hence will be ignored ` ) ;
}
core . info ( "before run" ) ;
yield ( 0 , restore _1 . default ) ( ) ;
core . info ( "after run" ) ;
} ) ;
}
core . info ( "before runRestoreAction" ) ;
runRestoreAction ( ) ;
core . info ( "after runRestoreAction" ) ;
core . info ( "after export default runRestoreAction" ) ;
/***/ } ) ,
/* 397 */ ,
/* 397 */ ,
/* 398 */
/* 398 */
/***/ ( function ( _ _unusedmodule , exports , _ _webpack _require _ _ ) {
/***/ ( function ( _ _unusedmodule , exports , _ _webpack _require _ _ ) {
@ -41355,7 +41292,70 @@ function defer(fn)
/***/ } ) ,
/***/ } ) ,
/* 501 */ ,
/* 501 */
/***/ ( function ( _ _unusedmodule , exports , _ _webpack _require _ _ ) {
"use strict" ;
var _ _createBinding = ( this && this . _ _createBinding ) || ( Object . create ? ( function ( o , m , k , k2 ) {
if ( k2 === undefined ) k2 = k ;
var desc = Object . getOwnPropertyDescriptor ( m , k ) ;
if ( ! desc || ( "get" in desc ? ! m . _ _esModule : desc . writable || desc . configurable ) ) {
desc = { enumerable : true , get : function ( ) { return m [ k ] ; } } ;
}
Object . defineProperty ( o , k2 , desc ) ;
} ) : ( function ( o , m , k , k2 ) {
if ( k2 === undefined ) k2 = k ;
o [ k2 ] = m [ k ] ;
} ) ) ;
var _ _setModuleDefault = ( this && this . _ _setModuleDefault ) || ( Object . create ? ( function ( o , v ) {
Object . defineProperty ( o , "default" , { enumerable : true , value : v } ) ;
} ) : function ( o , v ) {
o [ "default" ] = v ;
} ) ;
var _ _importStar = ( this && this . _ _importStar ) || function ( mod ) {
if ( mod && mod . _ _esModule ) return mod ;
var result = { } ;
if ( mod != null ) for ( var k in mod ) if ( k !== "default" && Object . prototype . hasOwnProperty . call ( mod , k ) ) _ _createBinding ( result , mod , k ) ;
_ _setModuleDefault ( result , mod ) ;
return result ;
} ;
var _ _awaiter = ( this && this . _ _awaiter ) || function ( thisArg , _arguments , P , generator ) {
function adopt ( value ) { return value instanceof P ? value : new P ( function ( resolve ) { resolve ( value ) ; } ) ; }
return new ( P || ( P = Promise ) ) ( function ( resolve , reject ) {
function fulfilled ( value ) { try { step ( generator . next ( value ) ) ; } catch ( e ) { reject ( e ) ; } }
function rejected ( value ) { try { step ( generator [ "throw" ] ( value ) ) ; } catch ( e ) { reject ( e ) ; } }
function step ( result ) { result . done ? resolve ( result . value ) : adopt ( result . value ) . then ( fulfilled , rejected ) ; }
step ( ( generator = generator . apply ( thisArg , _arguments || [ ] ) ) . next ( ) ) ;
} ) ;
} ;
var _ _importDefault = ( this && this . _ _importDefault ) || function ( mod ) {
return ( mod && mod . _ _esModule ) ? mod : { "default" : mod } ;
} ;
Object . defineProperty ( exports , "__esModule" , { value : true } ) ;
const core = _ _importStar ( _ _webpack _require _ _ ( 470 ) ) ;
const constants _1 = _ _webpack _require _ _ ( 694 ) ;
const restore _1 = _ _importDefault ( _ _webpack _require _ _ ( 778 ) ) ;
function runRestoreAction ( ) {
return _ _awaiter ( this , void 0 , void 0 , function * ( ) {
if ( core . getInput ( constants _1 . Inputs . SaveOnAnyFailure ) != "" ) {
core . warning ( ` ${ constants _1 . Inputs . SaveOnAnyFailure } value is passed in the input, this input is invalid for the restore-only action and hence will be ignored ` ) ;
}
if ( core . getInput ( constants _1 . Inputs . UploadChunkSize ) != "" ) {
core . warning ( ` ${ constants _1 . Inputs . UploadChunkSize } value is passed in the input, this input is invalid for the restore-only action and hence will be ignored ` ) ;
}
core . info ( "before run" ) ;
yield ( 0 , restore _1 . default ) ( ) ;
core . info ( "after run" ) ;
} ) ;
}
core . info ( "before runRestoreAction" ) ;
runRestoreAction ( ) ;
core . info ( "after runRestoreAction" ) ;
core . info ( "after export default runRestoreAction" ) ;
/***/ } ) ,
/* 502 */ ,
/* 502 */ ,
/* 503 */ ,
/* 503 */ ,
/* 504 */ ,
/* 504 */ ,
@ -49108,7 +49108,6 @@ function run() {
}
}
} ) ;
} ) ;
}
}
// run();
exports . default = run ;
exports . default = run ;