Skip to content

Commit 847ec45

Browse files
authored
Update publish-template.yml
1 parent b74dbf9 commit 847ec45

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/publish-template.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,13 +63,13 @@ jobs:
6363
run: echo '//registry.npmjs.org/:_authToken=${NPM_TOKEN}' > .npmrc
6464

6565
- name: Publish to npm
66-
if: ${{ inputs.lib-name }} != 'msal-angular'
66+
if: inputs.lib-name != 'msal-angular'
6767
env:
6868
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
6969
run: npm publish
7070

7171
- name: Deploy to npm (Angular only)
72-
if: ${{ inputs.lib-name }} == 'msal-angular'
72+
if: inputs.lib-name == 'msal-angular'
7373
env:
7474
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
7575
run: npm run deploy
@@ -80,4 +80,4 @@ jobs:
8080
- name: Check npm for package availability
8181
run: node ../../release-scripts/checkPackageAvailability.js ${{ inputs.path }}/${{ inputs.lib-name }}
8282

83-
83+

0 commit comments

Comments
 (0)