File tree 3 files changed +7
-7
lines changed
3 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -56,5 +56,5 @@ outputs:
56
56
description : ' The ID for the task that was ran.'
57
57
58
58
runs :
59
- using : ' node12 '
59
+ using : ' node16 '
60
60
main : ' dist/index.js'
Original file line number Diff line number Diff line change @@ -79486,12 +79486,12 @@ const main = async () => {
79486
79486
// Get taskArn and taskId
79487
79487
const taskArn = task.tasks[0].taskArn;
79488
79488
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);
79491
79491
core.info(`Task started with ARN: ${taskArn}`);
79492
79492
79493
79493
// 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.. .`)
79495
79495
await ecs.waitFor('tasksRunning', {cluster, tasks: [taskArn]}).promise();
79496
79496
79497
79497
// Get logging configuration
Original file line number Diff line number Diff line change @@ -57,12 +57,12 @@ const main = async () => {
57
57
// Get taskArn and taskId
58
58
const taskArn = task . tasks [ 0 ] . taskArn ;
59
59
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 ) ;
62
62
core . info ( `Task started with ARN: ${ taskArn } ` ) ;
63
63
64
64
// 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.. .` )
66
66
await ecs . waitFor ( 'tasksRunning' , { cluster, tasks : [ taskArn ] } ) . promise ( ) ;
67
67
68
68
// Get logging configuration
You can’t perform that action at this time.
0 commit comments