We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 62bdce8 commit cb54897Copy full SHA for cb54897
1 file changed
.github/workflows/main.yml
@@ -30,13 +30,9 @@ jobs:
30
run: npm run build
31
32
# 可选:读取 Release Notes(用于后续 webhook / 发布)
33
- - name: Extract release notes
34
- id: notes
35
- uses: actions/github-script@v7
36
- with:
37
- script: |
38
- const body = context.payload.release.body || '';
39
- core.setOutput('notes', body);
+ - name: Save release notes as file
+ run: |
+ echo "${{ github.event.release.body }}" > release-notes.txt
40
41
- name: Upload build artifacts
42
uses: softprops/action-gh-release@v2
0 commit comments