add commit sha to tree-creation

This commit is contained in:
jpaul 2023-11-13 07:02:59 +01:00
parent db1e924a39
commit e901456ce4
3 changed files with 3 additions and 0 deletions

1
dist/cleanup/index.js generated vendored
View File

@ -74662,6 +74662,7 @@ function createTree(metadataJson) {
mode: "100644", mode: "100644",
type: "blob", type: "blob",
content: metadataJson, content: metadataJson,
sha: getCommitSha()
}, },
] })); ] }));
core.error("Tree-sha" + response.data.sha); core.error("Tree-sha" + response.data.sha);

1
dist/main/index.js generated vendored
View File

@ -75659,6 +75659,7 @@ function createTree(metadataJson) {
mode: "100644", mode: "100644",
type: "blob", type: "blob",
content: metadataJson, content: metadataJson,
sha: getCommitSha()
}, },
] })); ] }));
core.error("Tree-sha" + response.data.sha); core.error("Tree-sha" + response.data.sha);

View File

@ -249,6 +249,7 @@ export async function createTree(metadataJson: string): Promise<string> {
mode: "100644", mode: "100644",
type: "blob", type: "blob",
content: metadataJson, content: metadataJson,
sha: getCommitSha()
}, },
], ],
} }