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