feat: Add npm token
This commit is contained in:
parent
ef7cc40f83
commit
a8ddce75a2
1 changed files with 5 additions and 0 deletions
|
@ -7,6 +7,10 @@ inputs:
|
|||
GITEA_TOKEN:
|
||||
description: "Gitea token"
|
||||
required: true
|
||||
NPM_TOKEN:
|
||||
description: "NPM Publish token"
|
||||
required: false
|
||||
default: ""
|
||||
|
||||
runs:
|
||||
using: "composite"
|
||||
|
@ -25,6 +29,7 @@ runs:
|
|||
env:
|
||||
GITHUB_TOKEN: ${{ inputs.GITHUB_TOKEN }}
|
||||
GITEA_TOKEN: ${{ inputs.GITEA_TOKEN }}
|
||||
NPM_TOKEN: ${{ inputs.NPM_TOKEN }}
|
||||
uses: cycjimmy/semantic-release-action@v4
|
||||
id: semantic
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue