Skip to content

Commit b909b33

Browse files
authored
Support net462
1 parent 79712df commit b909b33

File tree

1 file changed

+16
-5
lines changed

1 file changed

+16
-5
lines changed

.github/workflows/dotnet.yml

Lines changed: 16 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,7 @@ on:
1010
branches: [ "dev" ]
1111

1212
jobs:
13-
build:
14-
13+
netcore:
1514
runs-on: ubuntu-latest
1615
strategy:
1716
matrix:
@@ -25,7 +24,19 @@ jobs:
2524
dotnet-version: ${{ matrix.dotnet-version }}
2625
- name: Restore dependencies
2726
run: dotnet restore
28-
- name: dotnet build
27+
- name: Build
2928
run: dotnet build --configuration Release --no-restore
30-
- name: dotnet test
31-
run: dotnet test --configuration Release--no-build --verbosity normal
29+
- name: Run tests
30+
run: dotnet test --configuration Release --no-build --verbosity normal
31+
32+
netframework:
33+
runs-on: windows-latest
34+
steps:
35+
- name: Setup .NET Framework 4.6.2
36+
uses: actions/setup-dotnet@v2
37+
with:
38+
dotnet-version: 4.6.2
39+
- name: Build
40+
run: msbuild HtmlToOpenXml.sln /p:Configuration=Release
41+
- name: Run tests (NET Framework)
42+
run: vstest.console.exe HtmlToOpenXml.Tests.dll

0 commit comments

Comments
 (0)