File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed
Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change 1- name : Build & Publish NuGet Package
1+ name : Build & Test & Publish NuGet Package
22
33on :
44 push :
1919 - name : Restore dependencies
2020 run : dotnet restore
2121 - name : Build
22- run : dotnet build --no-restore
22+ run : dotnet build --no-restore --configuration Release
2323 - name : Test
2424 run : dotnet test --no-build --verbosity normal
25- - name : Pack NuGet Packages
26- run : dotnet pack ./src/ThreadSharp/ThreadSharp.csproj --output nupkgs --no-restore --no-build
2725 - name : Upload NuGet Package
2826 if : github.ref_type == 'tag' && startsWith(github.ref, 'refs/tags/v')
29- run : dotnet nuget push nupkgs/ *.nupkg -k ${{ secrets.NUGET_API_KEY }} -s https://api.nuget.org/v3/index.json
27+ run : dotnet nuget push ./src/ThreadSharp/bin/Release/ThreadSharp.*.**. *.nupkg -k ${{ secrets.NUGET_API_KEY }} -s https://api.nuget.org/v3/index.json
You can’t perform that action at this time.
0 commit comments