Update build_release.yml

This commit is contained in:
aisouler
2024-02-01 22:46:17 +08:00
parent 8ae64a92e1
commit 123e0ae446

View File

@@ -58,4 +58,14 @@ jobs:
with:
tag_name: v${{ steps.version.outputs.version }}
release_name: Release ${{ steps.version.outputs.version }}
body_path: ./CHANGELOG.md
body_path: ./CHANGELOG.md
- name: Publish package
if: ${{ steps.commit.outcome == 'success' }}
run: |
pnpm config set //registry.npmjs.org/:_authToken ${{ secrets.NPM_TOKEN }}
pnpm publish
- name: sync npmmirror
if: ${{ steps.commit.outcome == 'success' }}
run: curl -X PUT 'https://registry-direct.npmmirror.com/@gkd-kit/subscription/sync'