Skip to content

Commit 19857ed

Browse files
committed
build and test on ubuntu-latest and set up .NET versions (main.net cl 114090, 114091, 114093 --> .NET 14.1.2.0)
[git-p4: depot-paths = "//dev/release.net/coherence-net-v14.1.2.0/": change = 114102]
1 parent 40e2f84 commit 19857ed

File tree

1 file changed

+18
-2
lines changed

1 file changed

+18
-2
lines changed

.github/workflows/build.yml

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,20 @@ jobs:
3232
strategy:
3333
fail-fast: false
3434
matrix:
35-
os: [ubuntu-20.04, windows-latest, macOS-latest]
35+
os: [ubuntu-latest, windows-latest, macOS-latest]
3636

3737
steps:
3838
- name: Checkout
3939
uses: actions/checkout@v3
4040

41+
# Set up .NET versions
42+
- name: Set up dotnet
43+
uses: actions/setup-dotnet@v4
44+
with:
45+
dotnet-version: |
46+
6.x
47+
8.x
48+
4149
# Clean
4250
- name: Clean
4351
run: dotnet nuget locals all --clear
@@ -51,7 +59,7 @@ jobs:
5159
test-linux:
5260
name: Test on Linux against Coherence ${{ matrix.coherence_version }}
5361
needs: build
54-
runs-on: ubuntu-20.04
62+
runs-on: ubuntu-latest
5563
strategy:
5664
fail-fast: false
5765
matrix:
@@ -61,6 +69,14 @@ jobs:
6169
- name: Checkout
6270
uses: actions/checkout@v3
6371

72+
# Set up .NET versions
73+
- name: Set up dotnet
74+
uses: actions/setup-dotnet@v4
75+
with:
76+
dotnet-version: |
77+
6.x
78+
8.x
79+
6480
# Set up Java 17
6581
- name: Set up JDK
6682
uses: actions/setup-java@v3

0 commit comments

Comments
 (0)