Skip to content

Commit 6e995da

Browse files
authored
Update release.yml for improved comments and formatting
1 parent 7f3e380 commit 6e995da

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

.github/workflows/release.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
name: Release
2+
23
on:
34
push:
45
tags:
@@ -14,6 +15,7 @@ jobs:
1415
platform: [macos-latest, ubuntu-22.04, windows-latest]
1516

1617
runs-on: ${{ matrix.platform }}
18+
1719
steps:
1820
- uses: actions/checkout@v4
1921

@@ -25,7 +27,7 @@ jobs:
2527
- name: install Rust stable
2628
uses: dtolnay/rust-toolchain@stable
2729

28-
# Linux 系统需要安装 Tauri 特定的系统依赖
30+
# Linux 系统需要安装 Tauri + libudev 依赖(解决 libudev-sys 找不到 libudev)
2931
- name: install dependencies (ubuntu only)
3032
if: matrix.platform == 'ubuntu-22.04'
3133
run: |
@@ -49,7 +51,7 @@ jobs:
4951
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5052
with:
5153
tagName: ${{ github.ref_name }} # 使用触发工作流的 tag 名称
52-
releaseName: 'Serial Tool ${{ github.ref_name }}'
53-
releaseBody: '自动编译发布的版本。请在下方下载对应系统的安装包。'
54+
releaseName: Serial Tool ${{ github.ref_name }}
55+
releaseBody: 自动编译发布的版本。请在下方下载对应系统的安装包。
5456
releaseDraft: false
5557
prerelease: false

0 commit comments

Comments
 (0)