add trailing slash to s3Prefix

Signed-off-by: Eli Uriegas <eliuriegas@fb.com>
This commit is contained in:
Eli Uriegas 2021-05-19 11:14:12 -07:00
parent 59bb9ed754
commit 34aa167be5
2 changed files with 2 additions and 2 deletions

2
dist/index.js vendored
View file

@ -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

View file

@ -23,7 +23,7 @@ async function run(): Promise<void> {
}
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