File tree Expand file tree Collapse file tree 2 files changed +64
-1
lines changed
Expand file tree Collapse file tree 2 files changed +64
-1
lines changed Original file line number Diff line number Diff line change 1+ name : CI
2+
3+ on :
4+ push :
5+ branches : [ "**" ] # skip tags by default
6+ pull_request :
7+ branches : [ "**" ] # skip PR builds if needed
8+ workflow_dispatch :
9+
10+ jobs :
11+ build :
12+ runs-on : ${{ matrix.os }}
13+ strategy :
14+ fail-fast : false
15+ matrix :
16+ include :
17+ # .NET Core - Cross-platform
18+ - target : TestCore
19+ os : windows-2022
20+ dotnet-version : 10.0.x
21+ scriptArgs : ' '
22+ - target : TestCore
23+ os : windows-2022
24+ dotnet-version : 8.0.x
25+ scriptArgs : ' --netcore=net8.0'
26+ - target : TestCore
27+ os : ubuntu-22.04
28+ dotnet-version : 10.0.x
29+ scriptArgs : ' '
30+ - target : TestCore
31+ os : ubuntu-22.04
32+ dotnet-version : 8.0.x
33+ scriptArgs : ' --netcore=net8.0'
34+ - target : TestCore
35+ os : macos-15
36+ dotnet-version : 10.0.x
37+ scriptArgs : ' '
38+ - target : TestCore
39+ os : macos-15
40+ dotnet-version : 8.0.x
41+ scriptArgs : ' --netcore=net8.0'
42+
43+ # .NET Framework 4.7.2 - Windows only
44+ - target : Test
45+ os : windows-2022
46+ dotnet-version : 10.0.x
47+ scriptArgs : ' '
48+
49+ steps :
50+ - name : Checkout
51+ uses : actions/checkout@v4
52+
53+ - name : Setup .NET
54+ uses : actions/setup-dotnet@v4
55+ with :
56+ dotnet-version : ${{ matrix.dotnet-version }}
57+
58+ - name : Restore Cake tools
59+ run : dotnet tool restore
60+
61+ - name : Run Cake
62+ run : |
63+ dotnet cake --target=${{ matrix.target }} ${{ matrix.scriptArgs }}
Original file line number Diff line number Diff line change 77var target = Argument( "target", " Default") ;
88var configuration = Argument( "configuration" , "Release" ) ;
99var netfx = Argument( "netfx" , "net472" ) ;
10- var netcore = Argument( "netcore" , "net8 .0" ) ;
10+ var netcore = Argument( "netcore" , "net10 .0" ) ;
1111var netcoreVersion = Argument( "netcoreVersion" , "" ) ;
1212var nugetApiKey = Argument( "nugetApiKey" , "" ) ;
1313
You can’t perform that action at this time.
0 commit comments