Cleanup stack def resources

pull/218/head
Frostebite 2021-02-07 17:47:51 +00:00
parent 0ec9aebd6e
commit b9cb7ebf41
2 changed files with 6 additions and 2 deletions

File diff suppressed because one or more lines are too long

View File

@ -144,7 +144,7 @@ class AWS {
for (let index = 0; index < records.Records.length; index++) {
const element = records.Records[index];
core.info(JSON.stringify(element.Data));
core.info(Buffer.from(element.Data, 'base64').toString());
core.info(Buffer.from(element.Data.toString('utf8'), 'utf8').toString());
}
}
}
@ -154,6 +154,10 @@ class AWS {
tasks: [task.tasks[0].taskArn],
}).promise();
await CF.deleteStack({
StackName: taskDefStackName,
}).promise();
core.info('Build job has ended');
}