Skip to content

Commit

Permalink
Built the lib
Browse files Browse the repository at this point in the history
  • Loading branch information
olegtarasov committed Sep 16, 2019
1 parent b525a8f commit a378600
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,9 @@ function run() {
const ref = github.context.ref;
const tagPath = "refs/tags/";
if (ref && ref.startsWith(tagPath)) {
core.exportVariable("GITHUB_TAG_NAME", ref.substr(tagPath.length, ref.length));
const tag = ref.substr(tagPath.length, ref.length);
core.exportVariable("GITHUB_TAG_NAME", tag);
core.setOutput('tag', tag);
}
}
catch (error) {
Expand Down

0 comments on commit a378600

Please # to comment.