Skip to content

Commit

Permalink
🐎 ci: release workflow test
Browse files Browse the repository at this point in the history
  • Loading branch information
kiccer committed Apr 7, 2024
1 parent 67681fb commit 5cc12b8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/master_push.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Build and Deploy
name: 构建/部署/发布/NPM/tag/Release

on:
push:
Expand Down Expand Up @@ -43,7 +43,7 @@ jobs:
# 暂存 contains(github.ref, 'refs/tags/v${{ steps.package-version.outputs.version }}') 结果
- name: 判断 tag 是否存在
id: tag-exists
run: echo ::set-output name=tag-exists::$(contains(github.ref, "refs/tags/v${{ steps.package-version.outputs.version }}"))
run: echo ::set-output name=tag-exists::${{ contains(github.ref, 'refs/tags/v${{ steps.package-version.outputs.version }}') }}

- name: 创建 tag
run: git tag v${{ steps.package-version.outputs.version }} && git push --tags
Expand Down

0 comments on commit 5cc12b8

Please sign in to comment.