Skip to content

Commit e4eee38

Browse files
committed
fix: 修复版本tag异常的工作流
1 parent d6f7c00 commit e4eee38

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/publish-release.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ on:
88
#schedule:
99
# 定时任务,每天 UTC 时间 0 点运行
1010
#- cron: "0 0 * * *"
11+
1112
#workflow_dispatch:
1213
permissions: # Global permissions configuration starts here
1314
contents: read # 'read' access to repository contents
@@ -41,11 +42,12 @@ jobs:
4142
git commit -m "[修改]1.修改更新日志"
4243
4344
- name: change-version-by-tag
44-
uses: AlianBlank/github-action-tag-version@1.0.0
45+
uses: AlianBlank/github-action-tag-version@1.1.0
4546
with:
4647
version: ${{ github.ref_name }}
4748

4849
- name: Push changes
4950
uses: ad-m/github-push-action@master
5051
with:
51-
branch: ${{ github.head_ref }}
52+
force: true
53+
tags: true

0 commit comments

Comments
 (0)