Skip to content

Commit 5a4a28d

Browse files
authored
Update DotNET-build.yml
1 parent a2d7938 commit 5a4a28d

File tree

1 file changed

+6
-10
lines changed

1 file changed

+6
-10
lines changed

.github/workflows/DotNET-build.yml

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -30,20 +30,16 @@ jobs:
3030
ubuntu-latest:
3131
name: ubuntu-latest
3232
runs-on: ubuntu-latest
33-
strategy:
34-
matrix:
35-
dotnet-version: [ '6.0.x', '7.0.x', '8.0.x']
3633

3734
steps:
38-
- uses: actions/checkout@v4
39-
- name: Setup dotnet ${{ matrix.dotnet-version }}
35+
- name: Setup dotnet 6
4036
uses: actions/setup-dotnet@v4
4137
with:
42-
dotnet-version: ${{ matrix.dotnet-version }}
43-
# You can test your matrix by printing the current dotnet version
44-
- name: Display dotnet version
45-
run: dotnet --version
46-
38+
dotnet-version: '6.0.x'
39+
- name: Setup dotnet 7
40+
uses: actions/setup-dotnet@v4
41+
with:
42+
dotnet-version: '7.0.x'
4743
- uses: actions/setup-java@v4
4844
with:
4945
distribution: 'temurin'

0 commit comments

Comments
 (0)