Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
fey committed May 24, 2024
1 parent d7f9f9c commit 9da6252
Show file tree
Hide file tree
Showing 5 changed files with 32,538 additions and 8 deletions.
16,264 changes: 16,261 additions & 3 deletions dist/run-post-actions/index.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/run-post-actions/index.js.map

Large diffs are not rendered by default.

16,276 changes: 16,273 additions & 3 deletions dist/run-tests/index.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/run-tests/index.js.map

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ const uploadArtifacts = async (diffpath) => {

const artifactClient = artifact.create();
const artifactName = 'test-results';
console.log({artifactName, filepaths, diffpath})
await artifactClient.uploadArtifact(artifactName, filepaths, diffpath);
// NOTE: Users need notification that screenshots have been generated. Not error.
core.info(colors.bgYellow.black('Download snapshots from Artifacts.'));
Expand Down Expand Up @@ -75,6 +76,7 @@ const uploadTestData = async (options) => {
const artifactName = 'test-data';
const artifactClient = artifact.create();
const archivePath = path.join(projectSourcePath, archiveName);
console.log({ artifactName, archivePaths: [archivePath], projectSourcePath })
await artifactClient.uploadArtifact(artifactName, [archivePath], projectSourcePath);
core.info(colors.bgYellow.black('Download snapshots from Artifacts.'));
};
Expand Down

0 comments on commit 9da6252

Please sign in to comment.