diff --git a/.github/workflows/nightly-build.yml b/.github/workflows/nightly-build.yml index ece807aa..23fbaa39 100644 --- a/.github/workflows/nightly-build.yml +++ b/.github/workflows/nightly-build.yml @@ -118,7 +118,7 @@ jobs: run: | npm install sed -i s/{version}/$PACKAGE_VERSION/g ./site/AntDesign.Docs/Shared/HeaderMenu.razor - dotnet publish ./site/AntDesign.Docs.Wasm -c Release -f net5 -o cargo + dotnet publish ./site/AntDesign.Docs.Wasm -c Release -f net6 -o cargo env: PACKAGE_VERSION: ${{ steps.pack.outputs.package_version }} diff --git a/.github/workflows/pr-preview.yml b/.github/workflows/pr-preview.yml index 006c5954..8f5d0966 100644 --- a/.github/workflows/pr-preview.yml +++ b/.github/workflows/pr-preview.yml @@ -63,7 +63,7 @@ jobs: git checkout fork npm install dotnet build - dotnet publish ./site/AntDesign.Docs.Wasm -c Release -f net5 -o cargo + dotnet publish ./site/AntDesign.Docs.Wasm -c Release -f net6 -o cargo - name: Deploy Preview 🚀 env: diff --git a/package.json b/package.json index c2745c95..f1590c28 100644 --- a/package.json +++ b/package.json @@ -21,8 +21,8 @@ "url": "https://github.com/ElderJames/ant-design-blazor/issues" }, "scripts": { - "start": "dotnet watch -p ./site/AntDesign.Docs.Server run -f net5", - "start:wasm": "dotnet watch -p ./site/AntDesign.Docs.Wasm run -f net5", + "start": "dotnet watch -p ./site/AntDesign.Docs.Server run -f net6", + "start:wasm": "dotnet watch -p ./site/AntDesign.Docs.Wasm run -f net6", "gulp:components": "gulp --gulpfile ./components/gulpfile.js", "gulp:docs": "gulp --gulpfile ./site/AntDesign.Docs/gulpfile.js", "preinstall": "dotnet tool restore",