We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cf8125b commit 1f61283Copy full SHA for 1f61283
.github/actions/s3-delete/index.js
@@ -60,14 +60,14 @@ async function deleteFiles(bucketName, keys) {
60
);
61
for (const key in keys) {
62
await waitUntilObjectNotExists(
63
- { s3Client },
+ { client: s3Client },
64
{ Bucket: bucketName, Key: key },
65
- );
+ )
66
}
67
core.info(
68
- `Successfully deleted ${Deleted.length} objects. Deleted objects:`,
69
70
- core.info(Deleted.map((d) => ` • ${d.Key}`).join("\n"));
+ `Successfully deleted ${Deleted?.length || 0} objects. Deleted objects:`,
+ core.info(Deleted?.map((d) => ` • ${d.Key}`).join("\n"))
71
} catch (err) {
72
if (err instanceof S3ServiceException) {
73
core.setFailed(
0 commit comments