From 81eb23ba3c0db2a231d417644ed43b0886ddf6fe Mon Sep 17 00:00:00 2001 From: Corey Butler Date: Mon, 27 Jan 2020 18:14:23 -0600 Subject: [PATCH] Added tagref output --- lib/main.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/main.js b/lib/main.js index 5036452..04f036e 100644 --- a/lib/main.js +++ b/lib/main.js @@ -174,6 +174,7 @@ async function run() { core.setOutput('tagsha', newTag.data.sha) core.setOutput('taguri', newReference.data.url) core.setOutput('tagmessage', tagMsg.trim()) + core.setOutput('tagref', newReference.data.ref) } } catch (error) { core.warning(error.message) @@ -181,6 +182,7 @@ async function run() { core.setOutput('tagsha', '') core.setOutput('taguri', '') core.setOutput('tagmessage', '') + core.setOutput('tagref', '') } }