File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -18,15 +18,20 @@ concurrency:
1818jobs :
1919 # Keep the Windows build separate so we still validate the .NET Framework target
2020 # and the packaging prerequisites that only exist on Windows runners.
21- build-windows :
22- name : Build (Windows)
23- runs-on : windows-latest
21+ build :
22+ name : Build (${{ matrix.os }})
23+ runs-on : ${{ matrix.os }}
24+ strategy :
25+ fail-fast : false
26+ matrix :
27+ os : [ubuntu-latest, windows-latest]
2428
2529 steps :
2630 - name : Checkout
2731 uses : actions/checkout@v6
2832 with :
2933 fetch-depth : 0
34+ fetch-tags : true
3035 submodules : recursive
3136
3237 - name : Setup .NET SDKs
5560 - name : Run GitVersion and patch assembly info
5661 id : gitversion
5762 shell : pwsh
63+ working-directory : ${{ github.workspace }}
5864 run : |
5965 $gitVersion = dotnet tool run dotnet-gitversion /output json /updateAssemblyInfo | ConvertFrom-Json
6066 dotnet tool run dotnet-gitversion ".\dependencies\NEventStore" /updateAssemblyInfo | Out-Null
6874 # The matrix is therefore per target framework instead of per OS.
6975 test-modern-tfm-linux :
7076 name : Test (Linux, ${{ matrix.tfm }})
71- runs-on : ubuntu-24.04
77+ runs-on : ubuntu-latest
7278 strategy :
7379 fail-fast : false
7480 matrix :
99105 - name : Checkout
100106 uses : actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
101107 with :
108+ fetch-depth : 0
109+ fetch-tags : true
102110 submodules : recursive
103111
104112 - name : Setup .NET SDKs
You can’t perform that action at this time.
0 commit comments