Skip to content

Commit

Permalink
updated pipeline dotnet build
Browse files Browse the repository at this point in the history
  • Loading branch information
daerup committed Apr 19, 2024
1 parent 41f9264 commit c3ea1e9
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/dotnet-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,22 @@ on: [push]

jobs:
build:

runs-on: windows-latest
strategy:
matrix:
dotnet-version: [ '3.1.x', '6.0.x' ]
include:
- dotnet-version: '3.1.x'
tfm: 'netcoreapp3.1'

steps:
- uses: actions/checkout@v4
- name: Setup dotnet
uses: actions/setup-dotnet@v3
- name: Install dependencies
run: dotnet restore
run: dotnet restore -p:TargetFramework=${{ matrix.tfm }}
- name: Build
run: dotnet build
run: dotnet build --configuration Release --no-restore
- name: Test with the dotnet CLI
run: dotnet test
run: dotnet test --no-restore --verbosity normal -f=${{ matrix.tfm }}

0 comments on commit c3ea1e9

Please sign in to comment.