mirror of
https://github.com/actions/download-artifact.git
synced 2025-07-27 00:48:28 +02:00
add trailing slash to s3Prefix
Signed-off-by: Eli Uriegas <eliuriegas@fb.com>
This commit is contained in:
parent
59bb9ed754
commit
34aa167be5
2 changed files with 2 additions and 2 deletions
2
dist/index.js
vendored
2
dist/index.js
vendored
|
@ -31166,7 +31166,7 @@ function run() {
|
||||||
}
|
}
|
||||||
core.debug(`Resolved path is ${resolvedPath}`);
|
core.debug(`Resolved path is ${resolvedPath}`);
|
||||||
const s3 = new AWS.S3({ region: region });
|
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 = {
|
const s3Params = {
|
||||||
Bucket: s3Bucket,
|
Bucket: s3Bucket,
|
||||||
Prefix: s3Prefix
|
Prefix: s3Prefix
|
||||||
|
|
|
@ -23,7 +23,7 @@ async function run(): Promise<void> {
|
||||||
}
|
}
|
||||||
core.debug(`Resolved path is ${resolvedPath}`)
|
core.debug(`Resolved path is ${resolvedPath}`)
|
||||||
const s3 = new AWS.S3({region: region})
|
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 = {
|
const s3Params = {
|
||||||
Bucket: s3Bucket,
|
Bucket: s3Bucket,
|
||||||
Prefix: s3Prefix
|
Prefix: s3Prefix
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue