add net7 remove net5 (#1085)

* add net7

* remove net5

* fix build

* fix versions

* revert to 10.0 due to ci

* fix automapper

* update ver matrix

* fix warning

* fix net7 test err

* more target to basic and model pkg
This commit is contained in:
Boshi Lian
2022-12-05 08:59:04 -08:00
committed by GitHub
parent a435aa44f4
commit 763f1f0778
19 changed files with 56 additions and 29 deletions

View File

@@ -16,8 +16,8 @@ jobs:
with:
dotnet-version: |
3.1.x
5.0.x
6.0.x
6.0.x
7.0.x
# - name: Check Format
# # don't check formatting on Windows b/c of CRLF issues.
# if: matrix.os == 'ubuntu-latest'
@@ -37,10 +37,10 @@ jobs:
fetch-depth: 0
- name: Add msbuild to PATH
uses: microsoft/setup-msbuild@v1.1
- name: Setup dotnet SDK 6
- name: Setup dotnet SDK 7
uses: actions/setup-dotnet@v3
with:
dotnet-version: '6.0.x'
dotnet-version: '7.0.x'
- name: Restore nugets (msbuild)
run: msbuild .\src\KubernetesClient.Models\ -t:restore -p:RestorePackagesConfig=true
- name: Build (msbuild)
@@ -57,8 +57,8 @@ jobs:
with:
dotnet-version: |
3.1.x
5.0.x
6.0.x
6.0.x
7.0.x
- name: Minikube
run: minikube start
- name: Test

View File

@@ -30,8 +30,8 @@ jobs:
with:
dotnet-version: |
3.1.x
5.0.x
6.0.x
6.0.x
7.0.x
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL

View File

@@ -19,8 +19,8 @@ jobs:
with:
dotnet-version: |
3.1.x
5.0.x
6.0.x
6.0.x
7.0.x
- name: dotnet restore
run: dotnet restore --verbosity minimal --configfile nuget.config

View File

@@ -19,8 +19,8 @@ jobs:
with:
dotnet-version: |
3.1.x
5.0.x
6.0.x
6.0.x
7.0.x
- name: dotnet restore
run: dotnet restore --verbosity minimal --configfile nuget.config