5
0
Fork 0
mirror of https://github.com/cycjimmy/semantic-release-action.git synced 2025-11-10 04:06:56 +00:00

chore: set accurate install path

This commit is contained in:
cycjimmy 2020-01-10 16:36:53 +08:00
parent ac4bc8539b
commit 47a5ebd133
2 changed files with 2 additions and 2 deletions

View file

@ -15,7 +15,7 @@ module.exports = async () => {
} }
const {stdout, stderr} = await exec(`npm install semantic-release@${semantic_version}`, { const {stdout, stderr} = await exec(`npm install semantic-release@${semantic_version}`, {
cwd: path.resolve(__dirname) cwd: path.resolve(__dirname, '..')
}); });
core.debug(stdout); core.debug(stdout);

View file

@ -19,7 +19,7 @@ module.exports = async () => {
.replace(/[\n\r]/g, ' '); .replace(/[\n\r]/g, ' ');
const {stdout, stderr} = await exec(`npm install ${_extraPlugins}`, { const {stdout, stderr} = await exec(`npm install ${_extraPlugins}`, {
cwd: path.resolve(__dirname) cwd: path.resolve(__dirname, '..')
}); });
core.debug(stdout); core.debug(stdout);