Skip to content

Commit

Permalink
Update dotnet.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
dtanglr authored Nov 7, 2023
1 parent c95d91a commit 7581902
Showing 1 changed file with 12 additions and 8 deletions.
20 changes: 12 additions & 8 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,18 +11,22 @@ on:

jobs:
build:

runs-on: ubuntu-latest

strategy:
matrix:
dotnet-version: [ '6.0.x', '7.0.x' ]

steps:
- uses: actions/checkout@v3
- name: Setup .NET
- name: Setup .NET ${{ matrix.dotnet-version }}
uses: actions/setup-dotnet@v3
with:
dotnet-version: 7.0.x
dotnet-version: ${{ matrix.dotnet-version }}
- name: Display dotnet version
run: dotnet --version
- name: Restore dependencies
run: dotnet restore
run: dotnet restore src/Primitively.sln
- name: Build
run: dotnet build --no-restore
- name: Test
run: dotnet test --no-build --verbosity normal
run: dotnet build src/Primitively.sln --no-restore
#- name: Test
# run: dotnet test --no-build --verbosity normal

0 comments on commit 7581902

Please sign in to comment.