We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ae10697 commit d64f741Copy full SHA for d64f741
.github/actions/npm-publish/action.yml
@@ -41,7 +41,7 @@ runs:
41
// @ref https://github.com/actions/toolkit/blob/457303960f03375db6f033e214b9f90d79c3fe5c/packages/github/src/context.ts
42
pkg.name = context.payload.repository.owner.login + '/' + underlineName;
43
const fs = require('fs');
44
- fs.writeFileSync('package.json', JSON.stringify(pkg));
+ fs.writeFileSync('package.json', JSON.stringify(pkg), 'utf8');
45
46
- name: 发布
47
shell: bash
0 commit comments