mirror of
https://github.com/benjlevesque/short-sha.git
synced 2026-07-04 15:49:22 +02:00
export env variable
This commit is contained in:
Vendored
+1
@@ -2031,6 +2031,7 @@ function run() {
|
||||
const shortSha = shorten_1.shorten(sha, length);
|
||||
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