mirror of
https://github.com/cycjimmy/semantic-release-action.git
synced 2026-04-07 16:09:24 +00:00
feat: add working dir
This commit is contained in:
parent
d9c764f106
commit
71260837fb
4 changed files with 34 additions and 9 deletions
|
|
@ -16,6 +16,9 @@ const inputs = require('./inputs.json');
|
|||
* @returns {Promise<void>}
|
||||
*/
|
||||
const release = async () => {
|
||||
if (core.getInput(inputs.working_directory)) {
|
||||
process.chdir(core.getInput(inputs.working_directory));
|
||||
}
|
||||
await setUpJob();
|
||||
await installSpecifyingVersionSemantic();
|
||||
await preInstall(core.getInput(inputs.extra_plugins));
|
||||
|
|
|
|||
|
|
@ -4,5 +4,6 @@
|
|||
"branch": "branch",
|
||||
"extra_plugins": "extra_plugins",
|
||||
"dry_run": "dry_run",
|
||||
"extends": "extends"
|
||||
"extends": "extends",
|
||||
"working_directory": "working_directory"
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue