forked from mirror/DotRecast
fix: workflow dotnet-version matrix
This commit is contained in:
parent
ec41fea35a
commit
f3eab3e30f
|
@ -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: ${{ matrix.dotnet }}.x
|
dotnet-version: ${{ matrix.dotnet-version }}.x
|
||||||
|
|
||||||
- name: Restore dependencies
|
- name: Restore dependencies
|
||||||
run: dotnet restore
|
run: dotnet restore
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: dotnet build -c Release --no-restore --framework net${{ matrix.dotnet }}.0
|
run: dotnet build -c Release --no-restore --framework net${{ matrix.dotnet-version }}.0
|
||||||
|
|
||||||
- name: Test
|
- name: Test
|
||||||
run: dotnet test -c Release --no-build --verbosity normal --framework net${{ matrix.dotnet }}.0
|
run: dotnet test -c Release --no-build --verbosity normal --framework net${{ matrix.dotnet-version }}.0
|
||||||
|
|
Loading…
Reference in New Issue