2 Commits

Author SHA1 Message Date
e6f9848000 chore(version): bump to 2.0.9
All checks were successful
Auto Changelog & Release / release (push) Successful in 8s
2025-07-04 11:59:47 +02:00
7892a1fa7c feat(exec): add support for custom working directories
- Updates script execution to use `cwd` based on environment variables
- Enables better compatibility with GitHub Actions workflows
2025-07-04 11:59:47 +02:00
3 changed files with 7 additions and 2 deletions

View File

@@ -1 +1 @@
2.0.8
2.0.9

6
dist/main.js vendored
View File

@@ -3,7 +3,11 @@ const path = require("path");
const fs = require("fs");
function run(script) {
cp.execFileSync(script, { stdio: "inherit", shell: true });
cp.execFileSync(script, {
stdio: "inherit",
shell: true,
cwd: process.env.GITHUB_WORKSPACE || process.cwd()
});
}
function exportOutput(key, value) {

1
dist/post.js vendored
View File

@@ -7,6 +7,7 @@ function run(script, args = []) {
stdio: "inherit",
shell: true,
env: process.env,
cwd: process.env.GITHUB_WORKSPACE || process.cwd(),
});
}