update rebuilt dist
This commit is contained in:
12
dist/index.js
generated
vendored
12
dist/index.js
generated
vendored
@@ -125,8 +125,16 @@ function main() {
|
||||
id: github.context.runId.toString()
|
||||
});
|
||||
snapshot.addManifest(manifest);
|
||||
snapshot.sha = core.getInput('snapshot-sha');
|
||||
snapshot.ref = core.getInput('snapshot-ref');
|
||||
const inputSHA = core.getInput('sha');
|
||||
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);
|
||||
});
|
||||
}
|
||||
|
||||
2
dist/index.js.map
generated
vendored
2
dist/index.js.map
generated
vendored
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user