Skip to content

Commit 0ee449c

Browse files
committed
[CI] build action,增加attestation和打印版本号
1 parent 16ad0d0 commit 0ee449c

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

.github/workflows/build.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ on:
44
push:
55
branches: [ "master" ]
66

7+
permissions:
8+
id-token: write
9+
attestations: write
10+
711
jobs:
812
build_windows_cli:
913
name: Build MuConvert.exe (win-x64)
@@ -34,6 +38,14 @@ jobs:
3438
-p:UseAppHost=true
3539
-p:PublishSingleFile=true
3640
41+
- name: Print build version
42+
run: publish/win-x64/MuConvert.exe --version
43+
44+
- name: Generate artifact attestation
45+
uses: actions/attest@v4
46+
with:
47+
subject-path: publish/win-x64/MuConvert.exe
48+
3749
- name: Upload artifact (MuConvert.exe)
3850
uses: actions/upload-artifact@v7
3951
with:

0 commit comments

Comments
 (0)