Skip to content

Commit 1941e83

Browse files
committed
fix(cd): test jq2
1 parent c7e9c77 commit 1941e83

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/CD.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,8 @@ jobs:
3939
cd ${{ github.workspace }}
4040
npm i
4141
npm run json
42-
jq '.version = steps.semantic-release.outputs.version' package.json|sponge package.json
42+
jq '.cpu="${{steps.semantic-release.outputs.version}}"' package.json > temp && mv temp package.json
43+
cat package.json
4344
npm publish
4445
env:
4546
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)