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