File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed
Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -45,24 +45,25 @@ jobs:
4545
4646 - name : Package
4747 shell : pwsh
48- run : dotnet pack .\Tocsoft.GraphQLCodeGen.MsBuild\Tocsoft.GraphQLCodeGen.MsBuild.csproj -c Release -o ../ packages
48+ run : dotnet pack .\Tocsoft.GraphQLCodeGen.MsBuild\Tocsoft.GraphQLCodeGen.MsBuild.csproj -c Release -o packages
4949
5050 - uses : actions/upload-artifact@v2
5151 with :
52- name : application
53- path : nuget /*.*
52+ name : nuget
53+ path : packages /*.nupkg
5454
5555 - name : Publish the package to GPR
5656 shell : pwsh
57- run : dotnet nuget push packages/*.nupkg -s https://nuget.pkg.github.com/tocsoft/index.json -k ${{secrets.GITHUB_TOKEN}}
57+ run : dotnet nuget push "$((Resolve-Path packages/*.nupkg).Path)" -s https://nuget.pkg.github.com/tocsoft/index.json -k ${{secrets.GITHUB_TOKEN}}
5858
5959 - name : Publish the package to nuget.org
6060 if : github.event_name == 'release' && github.event.action == 'created'
6161 shell : pwsh
62- run : dotnet nuget push packages/*.nupkg -k ${{secrets.NUGET_TOKEN}}
62+ run : dotnet nuget push "$((Resolve-Path packages/*.nupkg).Path)" -k ${{secrets.NUGET_TOKEN}}
6363
6464 publish-npm-pacakge :
6565 needs : test
66+ if : " false"
6667
6768 runs-on : windows-latest
6869
You can’t perform that action at this time.
0 commit comments