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 5523aa8 commit a7a4923Copy full SHA for a7a4923
.github/workflows/npm-publish.yml
@@ -52,6 +52,12 @@ jobs:
52
if: inputs.pwsh
53
uses: PSModule/Install-PowerShell@v1
54
55
+ - name: Log Context
56
+ shell: pwsh
57
+ run: |
58
+ Write-Host "GitHub Ref (env. variable): $env:GITHUB_REF"
59
+ Write-Host "GitHub Ref (context): {{ github.ref }}"
60
+
61
- name: Install Dependencies
62
run: npm ci
63
@@ -62,7 +68,7 @@ jobs:
68
run: npm run ${{ inputs.test-script }}
69
64
70
- name: Publish to NPM (Dry Run)
65
- if: github.ref == 'refs/heads/main' && inputs.dry-run == 'true'
71
+ if: github.ref == 'refs/heads/main' && inputs.dry-run
66
72
env:
67
73
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
74
run: npm publish --access public --tag ${{ inputs.npm-tag }} --dry-run
0 commit comments