forked from bit/DotRecastNetSim
fix: update dotnet workflow for target framework
This commit is contained in:
parent
96e8b12772
commit
ec41fea35a
|
@ -28,7 +28,7 @@ jobs:
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
dotnet-version: [ '6.x', '7.x', '8.x' ]
|
dotnet-version: [ '6', '7', '8' ]
|
||||||
os: [ windows-latest, ubuntu-latest, macos-latest ]
|
os: [ windows-latest, ubuntu-latest, macos-latest ]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
@ -39,13 +39,13 @@ jobs:
|
||||||
- name: Setup .NET
|
- name: Setup .NET
|
||||||
uses: actions/setup-dotnet@v3
|
uses: actions/setup-dotnet@v3
|
||||||
with:
|
with:
|
||||||
dotnet-version: '8.x'
|
dotnet-version: ${{ matrix.dotnet }}.x
|
||||||
|
|
||||||
- name: Restore dependencies
|
- name: Restore dependencies
|
||||||
run: dotnet restore
|
run: dotnet restore
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: dotnet build -c Release --no-restore
|
run: dotnet build -c Release --no-restore --framework net${{ matrix.dotnet }}.0
|
||||||
|
|
||||||
- name: Test
|
- name: Test
|
||||||
run: dotnet test -c Release --no-build --verbosity normal
|
run: dotnet test -c Release --no-build --verbosity normal --framework net${{ matrix.dotnet }}.0
|
||||||
|
|
Loading…
Reference in New Issue