File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
template/clients/js/.github/workflows Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 71
71
72
72
- name: Ensure NPM_TOKEN variable is set
73
73
env:
74
- token: ${{ secrets .NPM_TOKEN }}
75
- if: ${{ env .token == ' ' }}
74
+ token: {% raw %} ${{ secrets.NPM_TOKEN }} {% endraw % }
75
+ if: {% raw %} ${{ env.token == '' }} {% endraw % }
76
76
run: |
77
77
echo "The NPM_TOKEN secret variable is not set"
78
78
echo "Go to \"Settings\" -> \"Secrets and variables\" -> \"Actions\" -> \"New repository secret\"."
81
81
- name: NPM Authentication
82
82
run: pnpm config set '//registry.npmjs.org/:_authToken' "${NODE_AUTH_TOKEN}"
83
83
env:
84
- NODE_AUTH_TOKEN: ${{ secrets .NPM_TOKEN }}
84
+ NODE_AUTH_TOKEN: {% raw %} ${{ secrets.NPM_TOKEN }} {% endraw % }
85
85
86
86
- name: Set Git Author
87
87
run: |
90
90
91
91
- name: Publish JS Client
92
92
id: publish
93
- run: pnpm clients:js:publish ${{ inputs .level }} ${{ inputs .tag }}
93
+ run: pnpm clients:js:publish {% raw %} ${{ inputs.level }} ${{ inputs.tag }} {% endraw % }
94
94
95
95
- name: Push Commit and Tag
96
96
run: git push origin --follow-tags
99
99
if: github.event.inputs.create_release == 'true'
100
100
uses: ncipollo/release-action@v1
101
101
with:
102
- tag: js@v${{ steps .publish .outputs .new_version }}
102
+ tag: {% raw %} js@v${{ steps.publish.outputs.new_version }} {% endraw % }
You can’t perform that action at this time.
0 commit comments