1
0
mirror of https://github.com/benjlevesque/short-sha.git synced 2025-12-07 02:07:50 +01:00

export env variable

This commit is contained in:
Benjamin LEVESQUE
2020-03-09 23:51:15 +01:00
parent 7ca07b8f5c
commit 12c1ae7a90
5 changed files with 9 additions and 0 deletions

1
dist/index.js vendored
View File

@@ -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);