mirror of
https://github.com/hicccc77/WeFlow.git
synced 2026-03-20 14:39:25 +08:00
feat: 支持头像base64导出
This commit is contained in:
36
.github/workflows/release.yml
vendored
36
.github/workflows/release.yml
vendored
@@ -15,6 +15,8 @@ jobs:
|
||||
steps:
|
||||
- name: Check out git repository
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Install Node.js
|
||||
uses: actions/setup-node@v4
|
||||
@@ -30,7 +32,39 @@ jobs:
|
||||
npx tsc
|
||||
npx vite build
|
||||
|
||||
# --- 生成更新日志步骤 ---
|
||||
- name: Build Changelog
|
||||
id: build_changelog
|
||||
uses: mikepenz/release-changelog-builder-action@v4
|
||||
with:
|
||||
outputFile: "release-notes.md"
|
||||
configurationJson: |
|
||||
{
|
||||
"categories": [
|
||||
{
|
||||
"title": "## 🚀 Features",
|
||||
"labels": ["feat", "feature"]
|
||||
},
|
||||
{
|
||||
"title": "## 🐛 Fixes",
|
||||
"labels": ["fix", "bug"]
|
||||
},
|
||||
{
|
||||
"title": "## 🧰 Maintenance",
|
||||
"labels": ["chore", "refactor", "docs", "perf"]
|
||||
}
|
||||
],
|
||||
"template": "# Release Notes\n\n{{CHANGELOG}}"
|
||||
}
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
# --- 打包并发布步骤 ---
|
||||
- name: Package and Publish
|
||||
env:
|
||||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
run: npx electron-builder --publish always
|
||||
run: >
|
||||
npx electron-builder
|
||||
--publish always
|
||||
-c.releaseInfo.releaseNotesFile=release-notes.md
|
||||
-c.publish.releaseType=release
|
||||
Reference in New Issue
Block a user