mirror of
https://github.com/benjlevesque/short-sha.git
synced 2026-10-30 22:28:15 +01:00
export env variable
This commit is contained in:
5 files changed
+9
No files matched your search
@@ -12,6 +12,7 @@ async function run(): Promise<void> {
|
||||
core.debug(`Output: ${shortSha}`)
|
||||
|
||||
core.setOutput('sha', shortSha)
|
||||
core.exportVariable('SHA', shortSha)
|
||||
} catch (error) {
|
||||
core.setFailed(error.message)
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user