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:
parent
ac4bc8539b
commit
47a5ebd133
2 changed files with 2 additions and 2 deletions
|
|
@ -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);
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue