fix(main): update script path to ensure correct resolution
- Adjusts the script path to use a relative path for `.scripts` directory - Prevents potential issues with incorrect path resolution
This commit is contained in:
2
dist/main.js
vendored
2
dist/main.js
vendored
@@ -16,7 +16,7 @@ function setEnv(key, value) {
|
|||||||
|
|
||||||
function main() {
|
function main() {
|
||||||
const actionPath = process.env.GITHUB_ACTION_PATH || ".";
|
const actionPath = process.env.GITHUB_ACTION_PATH || ".";
|
||||||
const script = path.join(actionPath, "scripts/detect-version-change.sh");
|
const script = path.join(".", ".scripts/detect-version-change.sh");
|
||||||
|
|
||||||
run(script);
|
run(script);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user