export env variable

This commit is contained in:
Benjamin LEVESQUE committed 2020-03-09 23:57:43 +01:00
1 parent 7ca07b8f5c
commit 12c1ae7a90
5 files changed
+9

No files matched your search

+1
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);