agentgui 1.0.357 → 1.0.359
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build-portable.js +7 -0
- package/package.json +1 -1
package/build-portable.js
CHANGED
|
@@ -158,3 +158,10 @@ fs.writeFileSync(path.join(out, 'README.txt'), [
|
|
|
158
158
|
|
|
159
159
|
const totalMB = Math.round(sizeOf(out) / 1024 / 1024);
|
|
160
160
|
log(`Build complete! Total: ${totalMB}MB Output: ${out}`);
|
|
161
|
+
|
|
162
|
+
// Output the build directory path for GitHub Actions
|
|
163
|
+
if (process.env.GITHUB_OUTPUT) {
|
|
164
|
+
const outPath = path.resolve(out);
|
|
165
|
+
fs.appendFileSync(process.env.GITHUB_OUTPUT, `portable-path=${outPath}\n`);
|
|
166
|
+
log(`GitHub Actions output: portable-path=${outPath}`);
|
|
167
|
+
}
|