Merge branch 'main' into henrymercer/discontinue-v1
This commit is contained in:
commit
60e58b4a21
4 changed files with 11 additions and 6 deletions
|
|
@ -88,9 +88,10 @@ export const getCommitOid = async function (
|
|||
return commitOid.trim();
|
||||
} catch (e) {
|
||||
core.info(
|
||||
`Failed to call git to get current commit. Continuing with data from environment or input: ${e}`
|
||||
"Could not determine current commit SHA using git. Continuing with data from user input or environment."
|
||||
);
|
||||
core.info((e as Error).stack || "NO STACK");
|
||||
core.debug(`Reason: ${(e as Error).message}`);
|
||||
core.debug((e as Error).stack || "NO STACK");
|
||||
return getOptionalInput("sha") || getRequiredEnvParam("GITHUB_SHA");
|
||||
}
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue