Skip to content

Commit adcf1d6

Browse files
committed
Remove deprecation warnings
1 parent 7825d6b commit adcf1d6

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

action.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,5 +56,5 @@ outputs:
5656
description: 'The ID for the task that was ran.'
5757

5858
runs:
59-
using: 'node12'
59+
using: 'node16'
6060
main: 'dist/index.js'

dist/index.js

+3-3
Original file line numberDiff line numberDiff 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

index.js

+3-3
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)