Skip to content

Commit 118866a

Browse files
committed
fix(workflows): 修复发布工作流中的API调用错误
- 在 release.yml 文件中修正发布API调用的格式,确保正确调用发布功能。 - 增强代码注释,符合jsdoc规范,提升可读性和维护性。
1 parent a1f8592 commit 118866a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ jobs:
9393
- name: Trigger publish workflow
9494
if: startsWith(github.ref, 'refs/tags/') || github.event_name == 'workflow_dispatch'
9595
run: |
96-
gh api repos/${{ github.repository }}/releases/${{ steps.release_notes.outputs.id }}/publish
96+
gh api repos/${{ github.repository }}/releases/${{ steps.release_notes.outputs.id }}publish
9797
env:
9898
GH_TOKEN: ${{ github.token }}
9999

0 commit comments

Comments
 (0)