mirror of
https://github.com/diligencia/semantic-branch-version.git
synced 2024-11-23 15:43:51 +08:00
await > yield
This commit is contained in:
parent
92822d3260
commit
e035f0c08a
2
index.js
2
index.js
@ -9,7 +9,7 @@ try {
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
yield execlib.exec('git', ['branch'], options)
|
await 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