Skip to content

Commit 08c4d07

Browse files
authored
Winget 的自动化分发流程确定
1 parent ee4cc7b commit 08c4d07

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/publish.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,11 +73,11 @@ jobs:
7373
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
7474

7575
- name: Submit to Winget
76-
# 删掉 if,让它强制运行
76+
if: steps.check_tag.outputs.EXISTS == 'false'
7777
uses: vedantmgoyal2009/winget-releaser@v2
7878
with:
7979
identifier: Justsenger.ExHyperV
8080
installers-regex: '\.zip$'
8181
token: ${{ secrets.WINGET_TOKEN }}
82-
version: 1.4.2
83-
release-tag: V1.4.2
82+
version: ${{ steps.get_version.outputs.VERSION }}
83+
release-tag: V${{ steps.get_version.outputs.VERSION }}

0 commit comments

Comments
 (0)