We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent de94e3d commit 00c065dCopy full SHA for 00c065d
1 file changed
.github/workflows/build.yml
@@ -123,8 +123,8 @@ jobs:
123
# 输出
124
echo -e "$CHANGELOG"
125
126
- # 使用 -e 参数设置输出变量
127
- echo "changelog=$(echo -e "$CHANGELOG")" >> $GITHUB_OUTPUT
+ # 将 changelog 写入文件
+ echo -e "$CHANGELOG" > CHANGELOG.md
128
shell: bash
129
130
# 打包发布文件
@@ -140,8 +140,6 @@ jobs:
140
if: startsWith(github.ref, 'refs/tags/')
141
with:
142
files: "nrfr-client/nrfr-${{ steps.version.outputs.version }}-release.zip"
143
- body: |
144
- ## 更新内容:
145
- ${{ steps.version.outputs.changelog }}
+ body_path: CHANGELOG.md
146
env:
147
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
0 commit comments