Skip to content

Commit 319d6bb

Browse files
Update dotnet-package.yml
1 parent 629f045 commit 319d6bb

File tree

1 file changed

+13
-9
lines changed

1 file changed

+13
-9
lines changed

.github/workflows/dotnet-package.yml

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,29 +9,33 @@ on:
99
jobs:
1010
build:
1111
runs-on: ubuntu-latest
12-
strategy:
13-
matrix:
14-
dotnet: [6, 7, 8, 9]
1512

1613
steps:
1714
- uses: actions/checkout@v4
1815

1916
- name: Setup .NET
2017
uses: actions/setup-dotnet@v4
21-
id: setup-dotnet
2218
with:
23-
dotnet-version: ${{ matrix.dotnet }}
24-
19+
dotnet-version: |
20+
10.0.x
21+
9.0.x
22+
8.0.x
23+
7.0.x
24+
6.0.x
25+
26+
- name: Display dotnet version
27+
run: dotnet --version
28+
2529
- name: Setup Node.js
2630
uses: actions/setup-node@v4
2731
with:
28-
node-version: 18
32+
node-version: 20
2933

3034
- name: Restore .NET dependencies
31-
run: dotnet restore ./XtermBlazor/XtermBlazor.csproj
35+
run: dotnet restore XtermBlazor
3236

3337
- name: Build .NET project
34-
run: dotnet build ./XtermBlazor/XtermBlazor.csproj --no-restore
38+
run: dotnet build XtermBlazor --no-restore
3539

3640
# - name: Test
3741
# run: dotnet test XtermBlazor --no-build --verbosity normal

0 commit comments

Comments
 (0)