File tree Expand file tree Collapse file tree 3 files changed +47
-3
lines changed Expand file tree Collapse file tree 3 files changed +47
-3
lines changed Original file line number Diff line number Diff line change
1
+ name : Fluent Assertions - Pull Requests
2
+
3
+ on :
4
+ push :
5
+ branches : [ develop, release-6.0 ]
6
+ pull_request :
7
+ branches : [ develop, release-6.0 ]
8
+
9
+ jobs :
10
+ build :
11
+
12
+ runs-on : windows-latest
13
+
14
+ steps :
15
+ - uses : actions/checkout@v2
16
+ with :
17
+ fetch-depth : 0
18
+
19
+ - name : Setup .NET 5
20
+ uses : actions/setup-dotnet@v1
21
+ with :
22
+ dotnet-version : 5.0.x
23
+
24
+ - name : Setup .NET 3.1
25
+ uses : actions/setup-dotnet@v1
26
+ with :
27
+ dotnet-version : 3.1.x
28
+
29
+ - name : Setup .NET 2.1
30
+ uses : actions/setup-dotnet@v1
31
+ with :
32
+ dotnet-version : 2.1.x
33
+
34
+ - name : Install NUKE
35
+ run : |
36
+ dotnet tool install --global Nuke.GlobalTool
37
+
38
+ - name : Run NUKE
39
+ run : nuke
40
+
41
+ - name : Upload artifacts
42
+ uses : actions/upload-artifact@v2
43
+ with :
44
+ path : ./Artifacts/*
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ class Build : NukeBuild
27
27
public static int Main ( ) => Execute < Build > ( x => x . Pack ) ;
28
28
29
29
[ Solution ( GenerateProjects = true ) ] readonly Solution Solution ;
30
- [ GitVersion ] readonly GitVersion GitVersion ;
30
+ [ GitVersion ( Framework = "net5.0" ) ] readonly GitVersion GitVersion ;
31
31
[ PackageExecutable ( "nspec" , "NSpecRunner.exe" , Version = "3.1.0" ) ] Tool NSpec3 ;
32
32
33
33
AbsolutePath ArtifactsDirectory => RootDirectory / "Artifacts" ;
Original file line number Diff line number Diff line change 8
8
<NukeScriptDirectory >..\</NukeScriptDirectory >
9
9
</PropertyGroup >
10
10
<ItemGroup >
11
- <PackageDownload Include =" GitVersion.Tool" Version =" [5.1.2 ]" />
11
+ <PackageDownload Include =" GitVersion.Tool" Version =" [5.6.11 ]" />
12
12
<PackageDownload Include =" NSpec" Version =" [3.1.0]" />
13
13
<PackageDownload Include =" xunit.runner.console" Version =" [2.4.1]" />
14
14
<PackageReference Include =" Nuke.Common" Version =" 5.1.0" />
15
15
</ItemGroup >
16
- </Project >
16
+ </Project >
You can’t perform that action at this time.
0 commit comments