Просмотр исходного кода

chore(changelog): up build.yml to generate changelog

lejianwen 1 год назад
Родитель
Сommit
3b8b8f37dd
1 измененных файлов с 2 добавлено и 1 удалено
  1. 2 1
      .github/workflows/build.yml

+ 2 - 1
.github/workflows/build.yml

@@ -125,13 +125,14 @@ jobs:
125 125
             ${{ matrix.job.goos}}-${{ matrix.job.platform }}.${{matrix.job.file_ext}}
126 126
 
127 127
       - name: Generate Changelog
128
-        run: npx changelogithub # or changelogithub@0.12 if ensure the stable result
128
+        run: npx changelogithub --output CHANGELOG.md # or changelogithub@0.12 if ensure the stable result
129 129
         env:
130 130
           GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
131 131
 
132 132
       - name: Upload to GitHub Release
133 133
         uses: softprops/action-gh-release@v2
134 134
         with:
135
+          body_path: CHANGELOG.md
135 136
           files: |
136 137
             ${{ matrix.job.goos}}-${{ matrix.job.platform }}.${{matrix.job.file_ext}}
137 138
         #          tag_name: ${{ env.LATEST_TAG }}