feat(Workflow):改进工作流流程 (#370)

* feat 常态构建 : 使用官方action附带缓存选项

* feat(dotnet-build):Remove comment part

Signed-off-by: doudou0720 <98651603+doudou0720@users.noreply.github.com>

* fix(BuildDotnet):use "/" instead of "\\"

Signed-off-by: doudou0720 <98651603+doudou0720@users.noreply.github.com>

* fix:fall back to msbuild

Signed-off-by: doudou0720 <98651603+doudou0720@users.noreply.github.com>

* fix:Change to restore

Signed-off-by: doudou0720 <98651603+doudou0720@users.noreply.github.com>

* fix:Change to bash

Signed-off-by: doudou0720 <98651603+doudou0720@users.noreply.github.com>

* feat(prerelease):修改发版流程

Signed-off-by: doudou0720 <98651603+doudou0720@users.noreply.github.com>

* fix(PreRelease):尝试修复神秘问题

Signed-off-by: doudou0720 <98651603+doudou0720@users.noreply.github.com>

* feat(Release):添加统计信息

Signed-off-by: doudou0720 <98651603+doudou0720@users.noreply.github.com>

* chore:Delete Temp Workflow

Signed-off-by: doudou0720 <98651603+doudou0720@users.noreply.github.com>

---------

Signed-off-by: doudou0720 <98651603+doudou0720@users.noreply.github.com>
This commit is contained in:
doudou0720
2026-02-06 23:24:45 +08:00
committed by GitHub
parent 674ce28420
commit 61404ff852
5 changed files with 322 additions and 412 deletions
+15 -4
View File
@@ -13,12 +13,23 @@ body = """
{% endif %}\
{% for group, commits in commits | group_by(attribute="group") %}
### {{ group | striptags | trim | upper_first }}
{% for commit in commits %}
- {% if commit.scope %}*({{ commit.scope }})* {% endif %}\
{% if commit.breaking %}[**breaking**] {% endif %}\
{{ commit.message | upper_first }} ({{commit.id}} by {{commit.author.name}})\
{% for commit in commits | unique(attribute="message") %}
* {{ commit.message | split(pat="\n") | first | trim }}\
{% if commit.remote.username %} by @{{ commit.remote.username }}{%- endif %}\
{% if commit.remote.pr_number %} in #{{ commit.remote.pr_number }}{%- endif %}
{% endfor %}
{% endfor %}
- 该版本有 {{ statistics.commit_count }} 次提交
- 在提交中检测到 {{ statistics.links | length }} 个关联议题
{%- if statistics.links | length > 0 %}
{%- for link in statistics.links %}
{{ " " }}- [{{ link.text }}]({{ link.href }}) (referenced {{ link.count }} time(s))
{%- endfor %}
{%- endif %}
感谢 {% for contributor in github.contributors %} @{{ contributor.username }} {%- endfor -%} 为本版本做出了贡献
"""
# Remove leading and trailing whitespaces from the changelog's body.
trim = true