@@ -302,9 +302,9 @@ function wrappy (fn, cb) {
302302/***/ } ) ,
303303
304304/***/ 18 :
305- /***/ ( function ( ) {
305+ /***/ ( function ( module ) {
306306
307- eval ( "require" ) ( "encoding" ) ;
307+ module . exports = eval ( "require" ) ( "encoding" ) ;
308308
309309
310310/***/ } ) ,
@@ -580,11 +580,13 @@ async function run() {
580580 body : commentBody
581581 } ) ;
582582 core . info ( `Updated comment id '${ inputs . commentId } '.` ) ;
583+ core . setOutput ( 'comment-id' , inputs . commentId ) ;
583584 }
584585
585586 // Set a comment reaction
586587 if ( inputs . reactionType ) {
587588 await addReaction ( octokit , repo , inputs . commentId , inputs . reactionType ) ;
589+ core . info ( `Added reaction '${ inputs . reactionType } ' to comment id '${ inputs . commentId } '.` ) ;
588590 }
589591 } else if ( inputs . issueNumber ) {
590592 // Create a comment
@@ -598,11 +600,13 @@ async function run() {
598600 issue_number : inputs . issueNumber ,
599601 body : inputs . body
600602 } ) ;
601- core . info ( `Created comment on issue '${ inputs . issueNumber } '.` ) ;
603+ core . info ( `Created comment id '${ comment . id } ' on issue '${ inputs . issueNumber } '.` ) ;
604+ core . setOutput ( 'comment-id' , comment . id ) ;
602605
603606 // Set a comment reaction
604607 if ( inputs . reactionType ) {
605608 await addReaction ( octokit , repo , comment . id , inputs . reactionType ) ;
609+ core . info ( `Added reaction '${ inputs . reactionType } ' to comment id '${ comment . id } '.` ) ;
606610 }
607611 } else {
608612 core . setFailed ( "Missing either 'issue-number' or 'comment-id'." ) ;
0 commit comments