update rebuilt dist

This commit is contained in:
E. Lynette Rayle
2025-05-29 19:05:40 +00:00
parent aa37531e2b
commit 9c1ae0dcfb
2 changed files with 11 additions and 3 deletions
Generated Vendored
+10 -2
View File
@@ -125,8 +125,16 @@ function main() {
id: github.context.runId.toString() id: github.context.runId.toString()
}); });
snapshot.addManifest(manifest); snapshot.addManifest(manifest);
snapshot.sha = core.getInput('snapshot-sha'); const inputSHA = core.getInput('sha');
snapshot.ref = core.getInput('snapshot-ref'); if (inputSHA !== '') {
// only set the SHA if it is not empty; otherwise, use the SHA from the context
snapshot.sha = inputSHA;
}
const inputRef = core.getInput('ref');
if (inputRef !== '') {
// only set the ref if it is not empty; otherwise, use the ref from the context
snapshot.ref = inputRef;
}
(0, dependency_submission_toolkit_1.submitSnapshot)(snapshot); (0, dependency_submission_toolkit_1.submitSnapshot)(snapshot);
}); });
} }
Generated Vendored
+1 -1
View File
File diff suppressed because one or more lines are too long