File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -79545,17 +79545,17 @@ const main = async () => {
7954579545 }
7954679546 }
7954779547
79548- // Set output variable, so it can be used by other actions
79549- core.setOutput('log-output', logOutput);
79550-
7955179548 // Wait for Task to finish
7955279549 core.debug(`Waiting for task to finish.`);
7955379550 await ecs.waitFor('tasksStopped', {cluster, tasks: [taskArn]}).promise();
7955479551
79555- // Close LogStream
79552+ // Close LogStream and store output
7955679553 if (logFilterStream !== null) {
7955779554 core.debug(`Closing logStream.`);
7955879555 logFilterStream.close();
79556+
79557+ // Export log-output
79558+ core.exportVariable('log-output', logOutput);
7955979559 }
7956079560
7956179561 // Describe Task to get Exit Code and Exceptions
Original file line number Diff line number Diff line change @@ -117,17 +117,17 @@ const main = async () => {
117117 }
118118 }
119119
120- // Set output variable, so it can be used by other actions
121- core . setOutput ( 'log-output' , logOutput ) ;
122-
123120 // Wait for Task to finish
124121 core . debug ( `Waiting for task to finish.` ) ;
125122 await ecs . waitFor ( 'tasksStopped' , { cluster, tasks : [ taskArn ] } ) . promise ( ) ;
126123
127- // Close LogStream
124+ // Close LogStream and store output
128125 if ( logFilterStream !== null ) {
129126 core . debug ( `Closing logStream.` ) ;
130127 logFilterStream . close ( ) ;
128+
129+ // Export log-output
130+ core . exportVariable ( 'log-output' , logOutput ) ;
131131 }
132132
133133 // Describe Task to get Exit Code and Exceptions
You can’t perform that action at this time.
0 commit comments