File tree Expand file tree Collapse file tree 1 file changed +3
-6
lines changed
Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change 6060 - name : Publish the package to nuget.org
6161 if : github.event_name == 'release' && github.event.action == 'created'
6262 shell : pwsh
63- run : dotnet nuget push "$((Resolve-Path packages/*.nupkg).Path)" -k ${{secrets.NUGET_TOKEN}} --skip-duplicate
63+ run : dotnet nuget push "$((Resolve-Path packages/*.nupkg).Path)" -k ${{secrets.NUGET_TOKEN}} --skip-duplicate --source https://api.nuget.org/v3/index.json
6464
6565 publish-npm-package :
6666 needs : test
9999 - name : Configure npmjs package registry
100100 if : github.event_name == 'release' && github.event.action == 'created'
101101 shell : pwsh
102- run : Set-Content -Path '.npmrc' -Value 'registry=https://registry.npmjs.org'
102+ run : Set-Content -Path '.npmrc' -Value "${{ secrets.NPMJS_NPMRC }}"
103103
104104 - name : Publish npm package to Npmjs package registry
105105 shell : pwsh
106- run : npm publish "$((Resolve-Path packages/*.tgz).Path)" --access public
107- if : github.event_name == 'release' && github.event.action == 'created'
108- env :
109- NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
106+ run : npm publish "$((Resolve-Path packages/*.tgz).Path)" --access public --registry https://registry.npmjs.org/
You can’t perform that action at this time.
0 commit comments