Skip to content

Commit

Permalink
Update github workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
kubagdynia committed Feb 8, 2025
1 parent df9fc2a commit 586c9c4
Showing 1 changed file with 13 additions and 11 deletions.
24 changes: 13 additions & 11 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,30 +17,32 @@ jobs:
build:

runs-on: ubuntu-latest
strategy:
matrix:
dotnet-version: [ '7.0.x', '8.0.x' ]

env:
working-directory: ./Dapper.CustomTypeHandlers

steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Setup dotnet ${{ matrix.dotnet-version }}
- name: Setup .NET 7.0.x
uses: actions/setup-dotnet@v4
with:
dotnet-version: 7.0.x

- name: Setup .NET 8.0.x
uses: actions/setup-dotnet@v4
with:
dotnet-version: ${{ matrix.dotnet-version }}

dotnet-version: 8.0.x

- name: List installed .NET SDKs
run: dotnet --list-sdks

- name: Display dotnet version
run: dotnet --version

- name: Restore dependencies
run: dotnet restore
working-directory: ${{env.working-directory}}

- name: Build the project
run: dotnet build --configuration Release --no-restore
run: dotnet build --configuration Release
working-directory: ${{env.working-directory}}

- name: Run test
Expand Down

0 comments on commit 586c9c4

Please sign in to comment.