diff --git a/dist/index.js b/dist/index.js index 438b4ac..d612f28 100644 --- a/dist/index.js +++ b/dist/index.js @@ -31166,7 +31166,7 @@ function run() { } core.debug(`Resolved path is ${resolvedPath}`); const s3 = new AWS.S3({ region: region }); - const s3Prefix = `${github.context.repo.owner}/${github.context.repo.repo}/${github.context.runId}/${name}`; + const s3Prefix = `${github.context.repo.owner}/${github.context.repo.repo}/${github.context.runId}/${name}/`; const s3Params = { Bucket: s3Bucket, Prefix: s3Prefix diff --git a/src/download-artifact.ts b/src/download-artifact.ts index e9b0a50..6058cc4 100644 --- a/src/download-artifact.ts +++ b/src/download-artifact.ts @@ -23,7 +23,7 @@ async function run(): Promise { } core.debug(`Resolved path is ${resolvedPath}`) const s3 = new AWS.S3({region: region}) - const s3Prefix = `${github.context.repo.owner}/${github.context.repo.repo}/${github.context.runId}/${name}` + const s3Prefix = `${github.context.repo.owner}/${github.context.repo.repo}/${github.context.runId}/${name}/` const s3Params = { Bucket: s3Bucket, Prefix: s3Prefix