mirror of
https://github.com/AIsouler/GKD_subscription.git
synced 2025-12-19 00:05:19 +08:00
Update build_release.yml
This commit is contained in:
10
.github/workflows/build_release.yml
vendored
10
.github/workflows/build_release.yml
vendored
@@ -59,3 +59,13 @@ jobs:
|
|||||||
tag_name: v${{ steps.version.outputs.version }}
|
tag_name: v${{ steps.version.outputs.version }}
|
||||||
release_name: Release ${{ 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'
|
||||||
Reference in New Issue
Block a user