mirror of
https://github.com/AIsouler/GKD_subscription.git
synced 2025-12-17 15:25:08 +08:00
Update build_release.yml
This commit is contained in:
12
.github/workflows/build_release.yml
vendored
12
.github/workflows/build_release.yml
vendored
@@ -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'
|
||||
Reference in New Issue
Block a user