Skip to content

Commit 2992a95

Browse files
committed
Normalize paths in new artifact upload to match legacy upload
1 parent df0bf04 commit 2992a95

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

lib/debug-artifacts.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/debug-artifacts.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/debug-artifacts.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,8 @@ export async function uploadDebugArtifacts(
7373
const artifactClient = new artifact.DefaultArtifactClient();
7474
await artifactClient.uploadArtifact(
7575
sanitizeArifactName(`${artifactName}${suffix}`),
76-
toUpload,
77-
rootDir,
76+
toUpload.map((file) => path.normalize(file)),
77+
path.normalize(rootDir),
7878
{
7979
// ensure we don't keep the debug artifacts around for too long since they can be large.
8080
retentionDays: 7,

0 commit comments

Comments
 (0)