yield the exec

This commit is contained in:
koeneijkemans 2020-07-04 18:39:30 +02:00
parent fbd3dd9e5c
commit 92822d3260

View File

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