From 92822d3260537fa42afa87b111f4702ef509c55a Mon Sep 17 00:00:00 2001 From: koeneijkemans Date: Sat, 4 Jul 2020 18:39:30 +0200 Subject: [PATCH] yield the exec --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 3212b86..0980c3c 100644 --- a/index.js +++ b/index.js @@ -9,7 +9,7 @@ try { } }; - execlib.exec('git', ['branch'], options) + yield execlib.exec('git', ['branch'], options) core.setOutput("branchname", output); } catch (error) { core.setFailed(error.message);