workflow: update release note handling and fix path for GitHub release body
This commit is contained in:
parent
40cc18e7fa
commit
26eb8228ba
8
.github/workflows/main.yml
vendored
8
.github/workflows/main.yml
vendored
@ -167,6 +167,12 @@ jobs:
|
||||
with:
|
||||
path: artifacts
|
||||
|
||||
- name: Download Release Note
|
||||
uses: actions/download-artifact@v4
|
||||
with:
|
||||
name: Release Note
|
||||
path: release_note
|
||||
|
||||
- name: Create releases directory
|
||||
run: mkdir -p releases
|
||||
|
||||
@ -183,7 +189,7 @@ jobs:
|
||||
uses: softprops/action-gh-release@v2
|
||||
if: ${{ needs.job_prepare.outputs.push_type == 'tag' }}
|
||||
with:
|
||||
body_path: releases/release_note.md
|
||||
body_path: release_note/release_note.md
|
||||
tag_name: ${{ needs.job_prepare.outputs.tag_name }}
|
||||
prerelease: ${{ contains(needs.job_prepare.outputs.tag_name, '-beta') || contains(needs.job_prepare.outputs.tag_name, '-rc') }}
|
||||
files: releases/*
|
||||
|
Loading…
x
Reference in New Issue
Block a user