add cleanup starting log

pull/263/head
Frostebite 2021-05-22 21:34:28 +01:00
parent b33ed1986f
commit e2e18b1d77
3 changed files with 3 additions and 1 deletions

1
dist/index.js vendored
View File

@ -1368,6 +1368,7 @@ class AWSBuildEnvironment {
}
static cleanupResources(CF, taskDef) {
return __awaiter(this, void 0, void 0, function* () {
core.info('Cleanup starting');
yield CF.deleteStack({
StackName: taskDef.taskDefStackName,
}).promise();

2
dist/index.js.map vendored

File diff suppressed because one or more lines are too long

View File

@ -225,6 +225,7 @@ class AWSBuildEnvironment {
}
static async cleanupResources(CF: SDK.CloudFormation, taskDef: RemoteBuilderTaskDef) {
core.info('Cleanup starting');
await CF.deleteStack({
StackName: taskDef.taskDefStackName,
}).promise();