diff --git a/index.js b/index.js index 0980c3c..e2ea1fd 100644 --- a/index.js +++ b/index.js @@ -9,7 +9,7 @@ try { } }; - yield execlib.exec('git', ['branch'], options) + await execlib.exec('git', ['branch'], options); core.setOutput("branchname", output); } catch (error) { core.setFailed(error.message);