File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -74,14 +74,14 @@ jobs:
7474 run : dotnet restore ${{ inputs.solution }}
7575
7676 - name : Build
77- run : dotnet build ${{ inputs.solution }} --configuration Release --no-restore /p:Version=${{ steps.version.outputs.package_version }} /p:InformationalVersion=${{ steps.version.outputs.package_version }}
77+ run : dotnet build ${{ inputs.solution }} --configuration Release --no-restore /p:Version=" ${{ steps.version.outputs.package_version }}" /p:InformationalVersion=" ${{ steps.version.outputs.package_version }}"
7878
7979 - name : Test
80- if : inputs.hasTests == true
81- run : dotnet test --solution ${{ inputs.solution }} --configuration Release --no-restore
80+ if : inputs.hasTests == true
81+ run : dotnet test --solution ${{ inputs.solution }} --configuration Release --no-restore
8282
8383 - name : Pack
84- run : dotnet pack ${{ inputs.solution }} --configuration Release --no-build -o artifacts /p:Version=${{ steps.version.outputs.package_version }} /p:InformationalVersion=${{ steps.version.outputs.package_version }}
84+ run : dotnet pack ${{ inputs.solution }} --configuration Release --no-build -o artifacts /p:Version=" ${{ steps.version.outputs.package_version }}" /p:InformationalVersion=" ${{ steps.version.outputs.package_version }}"
8585
8686 - name : Publish to NuGet
8787 run : dotnet nuget push artifacts/**/*.nupkg -k ${{ secrets.NUGET_API_KEY }} -s https://api.nuget.org/v3/index.json --skip-duplicate
You can’t perform that action at this time.
0 commit comments