diff --git a/src/main.ts b/src/main.ts index 13b3350..8c5d4e2 100644 --- a/src/main.ts +++ b/src/main.ts @@ -37,6 +37,11 @@ async function run(): Promise { sha: context.sha ?? '' }) + if(github.CONFIG.sha === '') + { + console.error("Error: Commit sha is an empty string") + } + if (UPLOAD_KEY) { const ARTIFACT_RETENTION_DAYS = getInput('ARTIFACT_RETENTION_DAYS') ? parseInt(getInput('RETENTION_DAYS'), 10)