File tree 2 files changed +8
-8
lines changed
2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -79545,17 +79545,17 @@ const main = async () => {
79545
79545
}
79546
79546
}
79547
79547
79548
- // Set output variable, so it can be used by other actions
79549
- core.setOutput('log-output', logOutput);
79550
-
79551
79548
// Wait for Task to finish
79552
79549
core.debug(`Waiting for task to finish.`);
79553
79550
await ecs.waitFor('tasksStopped', {cluster, tasks: [taskArn]}).promise();
79554
79551
79555
- // Close LogStream
79552
+ // Close LogStream and store output
79556
79553
if (logFilterStream !== null) {
79557
79554
core.debug(`Closing logStream.`);
79558
79555
logFilterStream.close();
79556
+
79557
+ // Export log-output
79558
+ core.exportVariable('log-output', logOutput);
79559
79559
}
79560
79560
79561
79561
// 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 () => {
117
117
}
118
118
}
119
119
120
- // Set output variable, so it can be used by other actions
121
- core . setOutput ( 'log-output' , logOutput ) ;
122
-
123
120
// Wait for Task to finish
124
121
core . debug ( `Waiting for task to finish.` ) ;
125
122
await ecs . waitFor ( 'tasksStopped' , { cluster, tasks : [ taskArn ] } ) . promise ( ) ;
126
123
127
- // Close LogStream
124
+ // Close LogStream and store output
128
125
if ( logFilterStream !== null ) {
129
126
core . debug ( `Closing logStream.` ) ;
130
127
logFilterStream . close ( ) ;
128
+
129
+ // Export log-output
130
+ core . exportVariable ( 'log-output' , logOutput ) ;
131
131
}
132
132
133
133
// Describe Task to get Exit Code and Exceptions
You can’t perform that action at this time.
0 commit comments