feat: add working dir

This commit is contained in:
Thomas GRUSON 2021-12-09 16:10:37 +01:00
parent d9c764f106
commit 71260837fb
No known key found for this signature in database
GPG key ID: DB643CF86A433917
4 changed files with 34 additions and 9 deletions

View file

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

View file

@ -4,5 +4,6 @@
"branch": "branch",
"extra_plugins": "extra_plugins",
"dry_run": "dry_run",
"extends": "extends"
"extends": "extends",
"working_directory": "working_directory"
}