File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2323 - name : Build solution
2424 run : dotnet build Throttlr.Api.RateLimit.sln --configuration Release --no-restore
2525
26- # ${{ github.ref_name#v }} strips the leading v we add in the release on github ex. v1.0.0.
27- # So a GitHub tag v1.0.0 becomes 1.0.0 for NuGet.
2826 - name : Pack NuGet package
29- run : dotnet pack src/Throttlr.Api.RateLimit/RateLimit.Throttlr.csproj --configuration Release -o ./artifacts /p:PackageVersion=${{ github.ref_name#v }}
27+ run : dotnet pack src/Throttlr.Api.RateLimit/RateLimit.Throttlr.csproj --configuration Release -o ./artifacts /p:PackageVersion=${{ github.ref_name }}
3028
3129 - name : Publish to NuGet
3230 run : dotnet nuget push ./artifacts/*.nupkg --api-key ${{ secrets.NUGET_API_KEY }} --source https://api.nuget.org/v3/index.json --skip-duplicate
You can’t perform that action at this time.
0 commit comments