We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a7a4923 commit cd0a0afCopy full SHA for cd0a0af
.github/workflows/npm-publish.yml
@@ -56,7 +56,7 @@ jobs:
56
shell: pwsh
57
run: |
58
Write-Host "GitHub Ref (env. variable): $env:GITHUB_REF"
59
- Write-Host "GitHub Ref (context): {{ github.ref }}"
+ Write-Host "GitHub Ref (context): ${{ github.ref }}"
60
61
- name: Install Dependencies
62
run: npm ci
@@ -74,7 +74,7 @@ jobs:
74
run: npm publish --access public --tag ${{ inputs.npm-tag }} --dry-run
75
76
- name: Publish to NPM
77
- if: github.ref == 'refs/heads/main' && inputs.dry-run == 'false'
+ if: github.ref == 'refs/heads/main' && !inputs.dry-run
78
env:
79
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
80
run: npm publish --access public --tag ${{ inputs.npm-tag }}
0 commit comments