perf: 优化工作流文本逻辑

This commit is contained in:
知一一 2025-06-10 21:38:47 +08:00
parent 35b9f02dea
commit 417e935482
1 changed files with 1 additions and 3 deletions

View File

@ -170,14 +170,12 @@ jobs:
github-token: ${{ secrets.GITHUB_TOKEN }} github-token: ${{ secrets.GITHUB_TOKEN }}
- name: Create GitHub Release - name: Create GitHub Release
uses: softprops/action-gh-release@v2 uses: softprops/action-gh-release@v2.2.2
with: with:
tag_name: ${{ steps.get_version.outputs.VERSION_TAG }} tag_name: ${{ steps.get_version.outputs.VERSION_TAG }}
name: ${{ steps.get_version.outputs.VERSION_TAG }} name: ${{ steps.get_version.outputs.VERSION_TAG }}
body: | body: |
${{ steps.read_changelog_content.outputs.CHANGELOG_BODY }} ${{ steps.read_changelog_content.outputs.CHANGELOG_BODY }}
${{ steps.prerelease_check.outputs.IS_PRERELEASE == 'true' && '---' || '' }}
${{ steps.prerelease_check.outputs.IS_PRERELEASE == 'true' && '测试版兼容性较差,请谨慎下载' || '' }}
draft: false draft: false
prerelease: ${{ steps.prerelease_check.outputs.IS_PRERELEASE }} prerelease: ${{ steps.prerelease_check.outputs.IS_PRERELEASE }}
files: DoroHelper.exe files: DoroHelper.exe