chore: 修复 publish 问题
This commit is contained in:
parent
e2f4d558e1
commit
58c3feb56a
8
.github/workflows/publish-npm.yml
vendored
8
.github/workflows/publish-npm.yml
vendored
|
|
@ -3,11 +3,11 @@ name: Publish to npm
|
|||
on:
|
||||
push:
|
||||
tags:
|
||||
- 'v*'
|
||||
- "v*"
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
version:
|
||||
description: '版本号 (例如: v1.9.0)'
|
||||
description: "版本号 (例如: v1.9.0)"
|
||||
required: true
|
||||
type: string
|
||||
|
||||
|
|
@ -38,9 +38,9 @@ jobs:
|
|||
run: bun test
|
||||
|
||||
- name: Publish to npm
|
||||
run: bun publish --access public
|
||||
run: bun publish -p --access public
|
||||
env:
|
||||
BUN_CONFIG_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||
NPM_CONFIG_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||
|
||||
- name: Generate changelog
|
||||
id: changelog
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user