File tree Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -56,5 +56,5 @@ outputs:
5656 description : ' The ID for the task that was ran.'
5757
5858runs :
59- using : ' node12 '
59+ using : ' node16 '
6060 main : ' dist/index.js'
Original file line number Diff line number Diff line change @@ -79486,12 +79486,12 @@ const main = async () => {
7948679486 // Get taskArn and taskId
7948779487 const taskArn = task.tasks[0].taskArn;
7948879488 const taskId = taskArn.split('/').pop();
79489- core.setOutput ('task-arn', taskArn);
79490- core.setOutput ('task-id', taskId);
79489+ core.exportVariable ('task-arn', taskArn);
79490+ core.exportVariable ('task-id', taskId);
7949179491 core.info(`Task started with ARN: ${taskArn}`);
7949279492
7949379493 // Wait for task to be in running state
79494- core.debug (`Waiting for task to be in running state.`)
79494+ core.info (`Waiting for task to be in running state.. .`)
7949579495 await ecs.waitFor('tasksRunning', {cluster, tasks: [taskArn]}).promise();
7949679496
7949779497 // Get logging configuration
Original file line number Diff line number Diff line change @@ -57,12 +57,12 @@ const main = async () => {
5757 // Get taskArn and taskId
5858 const taskArn = task . tasks [ 0 ] . taskArn ;
5959 const taskId = taskArn . split ( '/' ) . pop ( ) ;
60- core . setOutput ( 'task-arn' , taskArn ) ;
61- core . setOutput ( 'task-id' , taskId ) ;
60+ core . exportVariable ( 'task-arn' , taskArn ) ;
61+ core . exportVariable ( 'task-id' , taskId ) ;
6262 core . info ( `Task started with ARN: ${ taskArn } ` ) ;
6363
6464 // Wait for task to be in running state
65- core . debug ( `Waiting for task to be in running state.` )
65+ core . info ( `Waiting for task to be in running state.. .` )
6666 await ecs . waitFor ( 'tasksRunning' , { cluster, tasks : [ taskArn ] } ) . promise ( ) ;
6767
6868 // Get logging configuration
You can’t perform that action at this time.
0 commit comments