Adjust actions
This commit is contained in:
parent
05e53641c1
commit
955e8b61a8
|
@ -28,12 +28,12 @@ jobs:
|
|||
id: package-version
|
||||
run: node -e \"require('./utils').actionVersion()\" >> $GITHUB_OUTPUT
|
||||
|
||||
- name: Publish
|
||||
run: |
|
||||
npm config set //registry.npmjs.org/:_authToken ${NPM_TOKEN}
|
||||
npm publish --ignore-scripts
|
||||
env:
|
||||
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||
# - name: Publish
|
||||
# run: |
|
||||
# npm config set //registry.npmjs.org/:_authToken ${NPM_TOKEN}
|
||||
# npm publish --ignore-scripts
|
||||
# env:
|
||||
# NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||
|
||||
- name: Create Release
|
||||
id: create_release
|
||||
|
@ -41,6 +41,7 @@ jobs:
|
|||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
with:
|
||||
draft: true
|
||||
tag_name: ${{ steps.package-version.outputs.version }}
|
||||
name: Release ${{ steps.package-version.outputs.version }}
|
||||
body: Published at ${{ github.sha }}
|
||||
|
|
Loading…
Reference in New Issue