File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -10,10 +10,10 @@ jobs:
10
10
runs-on : ubuntu-latest
11
11
steps :
12
12
- name : 检出代码
13
- uses : actions/checkout@v2
13
+ uses : actions/checkout@v4
14
14
15
15
- name : 设置 Node.js 版本
16
- uses : actions/setup-node@v2
16
+ uses : actions/setup-node@v4
17
17
with :
18
18
node-version : 16
19
19
registry-url : https://registry.npmjs.org/
49
49
50
50
- name : 创建 tag
51
51
if : steps.check-tag.outputs.exists == 'false'
52
- run : git tag v${{ steps.package-version.outputs.version }} && git push --tags
52
+ # run: git tag v${{ steps.package-version.outputs.version }} && git push --tags
53
+ uses :
laputansoft/[email protected]
54
+ with :
55
+ github_token : ${{ env.github-token }}
56
+ tag : v${{ steps.package-version.outputs.version }}
53
57
54
58
- name : 发布 Release
55
59
if : steps.check-tag.outputs.exists == 'false'
You can’t perform that action at this time.
0 commit comments