Skip to content

Commit b38dc58

Browse files
committed
更新 release.yml 中的资产匹配模式,以支持更灵活的文件名匹配。
1 parent cb9d9c5 commit b38dc58

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,8 +102,8 @@ jobs:
102102
core.info(`正在检查 tag ${tag} 的资产...`);
103103
const patterns = [
104104
/latest\.json$/,
105-
/_x64-setup\.exe$/,
106-
/_x64-setup\.exe\.sig$/
105+
/_x64-setup.*\.exe$/,
106+
/_x64-setup.*\.exe\.sig$/
107107
];
108108
for (let attempt = 1; attempt <= 10; attempt++) {
109109
const { data: release } = await github.rest.repos.getReleaseByTag({ owner, repo, tag });

0 commit comments

Comments
 (0)