File tree Expand file tree Collapse file tree 3 files changed +28
-1
lines changed
Expand file tree Collapse file tree 3 files changed +28
-1
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,8 @@ name: .NET
33on :
44 push :
55 branches : [ "master" ]
6+ pull_request :
7+ branches : [ "master" ]
68
79jobs :
810 build :
Original file line number Diff line number Diff line change 1+ name : Release to NuGet
2+
3+ on :
4+ release :
5+ types : [published]
6+
7+ jobs :
8+ build :
9+ runs-on : ubuntu-latest
10+ timeout-minutes : 5
11+ steps :
12+ - name : Checkout
13+ - uses : actions/checkout@v3
14+ - name : Setup .NET
15+ uses : actions/setup-dotnet@v2
16+ with :
17+ dotnet-version : 6.0.x
18+ - name : Build
19+ run : dotnet build ./src -c Release
20+ - name : Test
21+ run : dotnet test ./src -c Release --no-build
22+ - name : Pack nugets
23+ run : dotnet pack ./src/Standart.Hash.xxHash -c Release --no-build --output .
24+ - name : Push to NuGet
25+ run : dotnet nuget push "*.nupkg" --api-key ${{secrets.nuget_api_key}} --source https://api.nuget.org/v3/index.json
Original file line number Diff line number Diff line change 33 <PropertyGroup >
44 <TargetFramework >net6.0</TargetFramework >
55 <PackageId >Standart.Hash.xxHash</PackageId >
6- <VersionPrefix >4.0.1 </VersionPrefix >
6+ <VersionPrefix >4.0.2 </VersionPrefix >
77 <AssemblyName >Standart.Hash.xxHash</AssemblyName >
88 <AssemblyTitle >Standart.Hash.xxHash</AssemblyTitle >
99 <Authors >Oleksandr Melnyk</Authors >
You can’t perform that action at this time.
0 commit comments