Skip to content

Commit cb54897

Browse files
KuronekoKuroneko
authored andcommitted
no message
1 parent 62bdce8 commit cb54897

1 file changed

Lines changed: 3 additions & 7 deletions

File tree

.github/workflows/main.yml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,9 @@ jobs:
3030
run: npm run build
3131

3232
# 可选:读取 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);
33+
- name: Save release notes as file
34+
run: |
35+
echo "${{ github.event.release.body }}" > release-notes.txt
4036
4137
- name: Upload build artifacts
4238
uses: softprops/action-gh-release@v2

0 commit comments

Comments
 (0)