Commit 00e93fc
fix: redirect log output to stderr to prevent invalid format errors (#67)
* debug
* fix: redirect log output to stderr to prevent invalid format errors
Fixes issue where debug mode caused 'Invalid format' errors in GitHub
Actions output. The log function was writing to stdout, causing debug
messages to contaminate function return values captured via command
substitution. This resulted in malformed GITHUB_OUTPUT entries when
debug mode was enabled. Redirecting to stderr follows Unix conventions
and matches the Windows implementation behavior.
Fixes #66
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
* try
* try
* Revert "try"
This reverts commit e4677b8.
* Revert "try"
This reverts commit 55b0aa4.
* fix: add fallback for inputs.debug in integration tests
Add default value 'false' for inputs.debug to prevent undefined values
when workflow is triggered by push events instead of workflow_dispatch.
Also add debug parameter to test-windows job for consistency.
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
---------
Co-authored-by: Claude Sonnet 4.5 <noreply@anthropic.com>1 parent 9edd425 commit 00e93fc
2 files changed
Lines changed: 8 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
8 | 13 | | |
9 | 14 | | |
10 | 15 | | |
| |||
30 | 35 | | |
31 | 36 | | |
32 | 37 | | |
| 38 | + | |
33 | 39 | | |
34 | 40 | | |
35 | 41 | | |
| |||
64 | 70 | | |
65 | 71 | | |
66 | 72 | | |
| 73 | + | |
67 | 74 | | |
68 | 75 | | |
69 | 76 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
0 commit comments