Skip to content

Commit bb1527a

Browse files
committed
ci: goreleaser增加校验
1 parent 8e1a575 commit bb1527a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/semantic-release.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ jobs:
2828
uses: actions/checkout@v4
2929
with:
3030
fetch-depth: 0
31+
# 这里需要配置,否则后面配置的GHS_PUBLISH不会生效
3132
persist-credentials: false
3233
- name: "setup pnpm"
3334
uses: pnpm/action-setup@v4
@@ -70,6 +71,6 @@ jobs:
7071
workdir: ./goserver
7172
distribution: goreleaser
7273
version: latest
73-
args: release --skip-validate --clean
74+
args: release --clean
7475
env:
7576
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)