Commit 8924b27
committed
fix(promote): 修复跨 job 输出值在 JavaScript script 中注入为空的问题;
将 promote job 的 github-script 步骤从直接在 script 内使用
\${{ needs.validate.outputs.* }} 表达式注入(该方式在 actions/github-script@v7
中会导致值为空),改为通过环境变量传递后由 process.env 读取,
确保 release_id 和 tag_name 正确跨 job 传递。
🤖 Generated with [Claude Code](https://github.com/claude), [CodeX](https://openai.com), [Gemini](https://github.com/apps/gemini-code-assist)
Co-Authored-By: Aurelius Huang<threefish.ai@gmail.com>1 parent 792467d commit 8924b27
1 file changed
Lines changed: 6 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
114 | 114 | | |
115 | 115 | | |
116 | 116 | | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
117 | 120 | | |
118 | 121 | | |
119 | 122 | | |
120 | | - | |
| 123 | + | |
| 124 | + | |
121 | 125 | | |
122 | 126 | | |
123 | 127 | | |
| |||
129 | 133 | | |
130 | 134 | | |
131 | 135 | | |
132 | | - | |
| 136 | + | |
133 | 137 | | |
134 | 138 | | |
135 | 139 | | |
| |||
0 commit comments