Skip to content

Commit 3cce061

Browse files
committed
Update publish-js-client.yml.njk
1 parent 04969f0 commit 3cce061

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

template/clients/js/.github/workflows/publish-js-client.yml.njk

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,8 @@ jobs:
7171

7272
- name: Ensure NPM_TOKEN variable is set
7373
env:
74-
token: ${{ secrets.NPM_TOKEN }}
75-
if: ${{ env.token == '' }}
74+
token: {% raw %}${{ secrets.NPM_TOKEN }}{% endraw %}
75+
if: {% raw %}${{ env.token == '' }}{% endraw %}
7676
run: |
7777
echo "The NPM_TOKEN secret variable is not set"
7878
echo "Go to \"Settings\" -> \"Secrets and variables\" -> \"Actions\" -> \"New repository secret\"."
@@ -81,7 +81,7 @@ jobs:
8181
- name: NPM Authentication
8282
run: pnpm config set '//registry.npmjs.org/:_authToken' "${NODE_AUTH_TOKEN}"
8383
env:
84-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
84+
NODE_AUTH_TOKEN: {% raw %}${{ secrets.NPM_TOKEN }}{% endraw %}
8585

8686
- name: Set Git Author
8787
run: |
@@ -90,7 +90,7 @@ jobs:
9090

9191
- name: Publish JS Client
9292
id: publish
93-
run: pnpm clients:js:publish ${{ inputs.level }} ${{ inputs.tag }}
93+
run: pnpm clients:js:publish {% raw %}${{ inputs.level }} ${{ inputs.tag }}{% endraw %}
9494

9595
- name: Push Commit and Tag
9696
run: git push origin --follow-tags
@@ -99,4 +99,4 @@ jobs:
9999
if: github.event.inputs.create_release == 'true'
100100
uses: ncipollo/release-action@v1
101101
with:
102-
tag: js@v${{ steps.publish.outputs.new_version }}
102+
tag: {% raw %}js@v${{ steps.publish.outputs.new_version }}{% endraw %}

0 commit comments

Comments
 (0)