Skip to content

Commit

Permalink
Support net462
Browse files Browse the repository at this point in the history
  • Loading branch information
onizet authored Jul 15, 2024
1 parent 79712df commit b909b33
Showing 1 changed file with 16 additions and 5 deletions.
21 changes: 16 additions & 5 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@ on:
branches: [ "dev" ]

jobs:
build:

netcore:
runs-on: ubuntu-latest
strategy:
matrix:
Expand All @@ -25,7 +24,19 @@ jobs:
dotnet-version: ${{ matrix.dotnet-version }}
- name: Restore dependencies
run: dotnet restore
- name: dotnet build
- name: Build
run: dotnet build --configuration Release --no-restore
- name: dotnet test
run: dotnet test --configuration Release--no-build --verbosity normal
- name: Run tests
run: dotnet test --configuration Release --no-build --verbosity normal

netframework:
runs-on: windows-latest
steps:
- name: Setup .NET Framework 4.6.2
uses: actions/setup-dotnet@v2
with:
dotnet-version: 4.6.2
- name: Build
run: msbuild HtmlToOpenXml.sln /p:Configuration=Release
- name: Run tests (NET Framework)
run: vstest.console.exe HtmlToOpenXml.Tests.dll

0 comments on commit b909b33

Please sign in to comment.