Skip to content

Commit 62796fd

Browse files
committed
fix: action workflow bug
1 parent bf42753 commit 62796fd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/npm-publish-github-packages.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
registry-url: https://npm.pkg.github.com/
3232
scope: '@taozhi8833998'
3333
- name: Update package.json name
34-
run: sed -i '2,2s/"name": "node-sql-parser"/"name": "@taozhi8833998\/node-sql-parser"/g' package.json
34+
run: sed -i '2,2s/node-sql-parser/@taozhi8833998\/node-sql-parser/g' package.json
3535
- run: echo registry=https://npm.pkg.github.com/taozhi8833998 >> .npmrc
3636
- run: npm build
3737
- run: cd output/prod && npm publish

0 commit comments

Comments
 (0)