Update SDK version to 14.0 for Kubernetes 1.30 (#1551)

* Update KUBERNETES_BRANCH to v1.30.0 in csharp.settings

* Update version.json to 14.0

* Update SDK version to 14.0 for Kubernetes 1.30

* fix csharp naming conflict

* drop support of net7

* remove unused comment
This commit is contained in:
Boshi Lian
2024-04-28 17:00:18 -07:00
committed by GitHub
parent 3dae1cf299
commit 07a59e7e59
17 changed files with 7395 additions and 236 deletions

View File

@@ -16,7 +16,6 @@ jobs:
with:
dotnet-version: |
6.0.x
7.0.x
8.0.x
# - name: Check Format
# # don't check formatting on Windows b/c of CRLF issues.
@@ -48,10 +47,10 @@ jobs:
fetch-depth: 0
- name: Add msbuild to PATH
uses: microsoft/setup-msbuild@v2
- name: Setup dotnet SDK 7
- name: Setup dotnet SDK
uses: actions/setup-dotnet@v4
with:
dotnet-version: '7.0.x'
dotnet-version: '8.0.x'
- name: Restore nugets (msbuild)
run: msbuild .\src\KubernetesClient\ -t:restore -p:RestorePackagesConfig=true
- name: Build (msbuild)
@@ -68,7 +67,6 @@ jobs:
with:
dotnet-version: |
6.0.x
7.0.x
8.0.x
- name: Minikube
run: minikube start

View File

@@ -29,9 +29,7 @@ jobs:
uses: actions/setup-dotnet@v4
with:
dotnet-version: |
3.1.x
6.0.x
7.0.x
8.0.x
# Initializes the CodeQL tools for scanning.

View File

@@ -34,7 +34,6 @@ jobs:
with:
dotnet-version: |
6.0.x
7.0.x
8.0.x
- name: Build

View File

@@ -19,7 +19,6 @@ jobs:
with:
dotnet-version: |
6.0.x
7.0.x
8.0.x
- name: dotnet restore
@@ -37,4 +36,4 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
gh release create -d --generate-notes v$env:NBGV_NuGetPackageVersion
gh release create -d --generate-notes v$env:NBGV_NuGetPackageVersion

View File

@@ -19,7 +19,6 @@ jobs:
with:
dotnet-version: |
6.0.x
7.0.x
8.0.x
- name: dotnet restore