Skip to content

Commit f835435

Browse files
committed
Rename run to uploadArtifacts
1 parent 58194bf commit f835435

9 files changed

+15
-11
lines changed

lib/analyze-action-post.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/analyze-action-post.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.

lib/upload-sarif-action-post-helper.js

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/upload-sarif-action-post-helper.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.

lib/upload-sarif-action-post.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/upload-sarif-action-post.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/analyze-action-post.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,9 @@ async function runWrapper() {
1616

1717
// Also run the upload-sarif post action since we're potentially running
1818
// the same steps in the analyze action.
19-
await uploadSarifActionPostHelper.run(debugArtifacts.uploadDebugArtifacts);
19+
await uploadSarifActionPostHelper.uploadArtifacts(
20+
debugArtifacts.uploadDebugArtifacts,
21+
);
2022
} catch (error) {
2123
core.setFailed(
2224
`analyze post-action step failed: ${wrapError(error).message}`,

src/upload-sarif-action-post-helper.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import * as core from "@actions/core";
55

66
import * as actionsUtil from "./actions-util";
77

8-
export async function run(
8+
export async function uploadArtifacts(
99
uploadDebugArtifacts: (
1010
toUpload: string[],
1111
rootDir: string,

src/upload-sarif-action-post.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,9 @@ import { wrapError } from "./util";
1111

1212
async function runWrapper() {
1313
try {
14-
await uploadSarifActionPostHelper.run(debugArtifacts.uploadDebugArtifacts);
14+
await uploadSarifActionPostHelper.uploadArtifacts(
15+
debugArtifacts.uploadDebugArtifacts,
16+
);
1517
} catch (error) {
1618
core.setFailed(
1719
`upload-sarif post-action step failed: ${wrapError(error).message}`,

0 commit comments

Comments
 (0)