chore: fix publish target framework (#2484)

This commit is contained in:
James Yeung 2022-05-29 18:48:27 +08:00
parent 69cb9e015e
commit b674a9ffef
3 changed files with 4 additions and 4 deletions

View File

@ -118,7 +118,7 @@ jobs:
run: | run: |
npm install npm install
sed -i s/{version}/$PACKAGE_VERSION/g ./site/AntDesign.Docs/Shared/HeaderMenu.razor 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: env:
PACKAGE_VERSION: ${{ steps.pack.outputs.package_version }} PACKAGE_VERSION: ${{ steps.pack.outputs.package_version }}

View File

@ -63,7 +63,7 @@ jobs:
git checkout fork git checkout fork
npm install npm install
dotnet build 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 🚀 - name: Deploy Preview 🚀
env: env:

View File

@ -21,8 +21,8 @@
"url": "https://github.com/ElderJames/ant-design-blazor/issues" "url": "https://github.com/ElderJames/ant-design-blazor/issues"
}, },
"scripts": { "scripts": {
"start": "dotnet watch -p ./site/AntDesign.Docs.Server 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 net5", "start:wasm": "dotnet watch -p ./site/AntDesign.Docs.Wasm run -f net6",
"gulp:components": "gulp --gulpfile ./components/gulpfile.js", "gulp:components": "gulp --gulpfile ./components/gulpfile.js",
"gulp:docs": "gulp --gulpfile ./site/AntDesign.Docs/gulpfile.js", "gulp:docs": "gulp --gulpfile ./site/AntDesign.Docs/gulpfile.js",
"preinstall": "dotnet tool restore", "preinstall": "dotnet tool restore",