Skip to content
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Normalize paths in new artifact upload to match legacy upload
  • Loading branch information
angelapwen committed Sep 4, 2024
commit 2992a95c3fd5dfbf7a641b4611d1e45231176c5f
2 changes: 1 addition & 1 deletion lib/debug-artifacts.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/debug-artifacts.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions src/debug-artifacts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,8 @@ export async function uploadDebugArtifacts(
const artifactClient = new artifact.DefaultArtifactClient();
await artifactClient.uploadArtifact(
sanitizeArifactName(`${artifactName}${suffix}`),
toUpload,
rootDir,
toUpload.map((file) => path.normalize(file)),
path.normalize(rootDir),
{
// ensure we don't keep the debug artifacts around for too long since they can be large.
retentionDays: 7,
Expand Down