Skip to content

Commit

Permalink
fix(cd): test jq2
Browse files Browse the repository at this point in the history
  • Loading branch information
SpliiT committed Jan 19, 2024
1 parent c7e9c77 commit 1941e83
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/CD.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@ jobs:
cd ${{ github.workspace }}
npm i
npm run json
jq '.version = steps.semantic-release.outputs.version' package.json|sponge package.json
jq '.cpu="${{steps.semantic-release.outputs.version}}"' package.json > temp && mv temp package.json
cat package.json
npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
Expand Down

0 comments on commit 1941e83

Please sign in to comment.