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 66 - " v*"
77
88env :
9- PROJECT_PATH : " ValueMapperCore/ValueMapperCore.csproj"
10- PACKAGE_OUTPUT_DIRECTORY : ${{ github.workspace }}\output
9+ SOLUTION_FILE : ValueMapper/ValueMapper.sln
10+ PROJECT_PATH : " ValueMapper/ValueMapperCore/ValueMapper.csproj"
11+ PACKAGE_OUTPUT_DIRECTORY : ${{ github.workspace }}/output
1112 NUGET_SOURCE_URL : " https://api.nuget.org/v3/index.json"
1213
1314jobs :
@@ -24,10 +25,10 @@ jobs:
2425 dotnet-version : " 8.0.x"
2526
2627 - name : " Restore packages"
27- run : dotnet restore ${{ env.PROJECT_PATH }}
28+ run : dotnet restore ${{ env.SOLUTION_FILE }}
2829
2930 - name : " Build project"
30- run : dotnet build ${{ env.PROJECT_PATH }} --no-restore --configuration Release
31+ run : dotnet build ${{ env.SOLUTION_FILE }} --no-restore --configuration Release
3132
3233 - name : " Get Version"
3334 id : version
3738 run : dotnet pack ${{ env.PROJECT_PATH }} --no-restore --no-build --configuration Release --include-symbols -p:PackageVersion=${{ steps.version.outputs.version-without-v }} --output ${{ env.PACKAGE_OUTPUT_DIRECTORY }}
3839
3940 - name : " Push package"
40- run : dotnet nuget push "${{ env.PACKAGE_OUTPUT_DIRECTORY }}\ *.nupkg" -k ${{ secrets.NUGET_AUTH_TOKEN }} -s ${{ env.NUGET_SOURCE_URL }}
41+ run : dotnet nuget push "${{ env.PACKAGE_OUTPUT_DIRECTORY }}/ *.nupkg" -k ${{ secrets.NUGET_AUTH_TOKEN }} -s ${{ env.NUGET_SOURCE_URL }}
You can’t perform that action at this time.
0 commit comments