mirror of
https://github.com/diligencia/semantic-branch-version.git
synced 2024-11-23 13:03:51 +08:00
yield the exec
This commit is contained in:
parent
fbd3dd9e5c
commit
92822d3260
2
index.js
2
index.js
@ -9,7 +9,7 @@ try {
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
execlib.exec('git', ['branch'], options)
|
yield execlib.exec('git', ['branch'], options)
|
||||||
core.setOutput("branchname", output);
|
core.setOutput("branchname", output);
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
core.setFailed(error.message);
|
core.setFailed(error.message);
|
||||||
|
Loading…
Reference in New Issue
Block a user