File tree 3 files changed +28
-1
lines changed
3 files changed +28
-1
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,8 @@ name: .NET
3
3
on :
4
4
push :
5
5
branches : [ "master" ]
6
+ pull_request :
7
+ branches : [ "master" ]
6
8
7
9
jobs :
8
10
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 3
3
<PropertyGroup >
4
4
<TargetFramework >net6.0</TargetFramework >
5
5
<PackageId >Standart.Hash.xxHash</PackageId >
6
- <VersionPrefix >4.0.1 </VersionPrefix >
6
+ <VersionPrefix >4.0.2 </VersionPrefix >
7
7
<AssemblyName >Standart.Hash.xxHash</AssemblyName >
8
8
<AssemblyTitle >Standart.Hash.xxHash</AssemblyTitle >
9
9
<Authors >Oleksandr Melnyk</Authors >
You can’t perform that action at this time.
0 commit comments