mirror of
https://gitee.com/ant-design-blazor/ant-design-blazor.git
synced 2024-12-04 21:17:36 +08:00
chore: fix upload-artifact actions (#4181)
* chore: fix upload-artifact actions * copy dll files to output
This commit is contained in:
parent
beb9491bb1
commit
854bb98759
4
.github/workflows/AntDesignDocsWebApp.yml
vendored
4
.github/workflows/AntDesignDocsWebApp.yml
vendored
@ -56,7 +56,7 @@ jobs:
|
||||
- name: Publish
|
||||
run: dotnet publish "${{ env.WORKING_DIRECTORY }}" --configuration Release --output "${{ env.AZURE_WEBAPP_PACKAGE_PATH }}"
|
||||
- name: Publish Artifacts
|
||||
uses: actions/upload-artifact@v3
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: webapp
|
||||
path: ${{ env.AZURE_WEBAPP_PACKAGE_PATH }}
|
||||
@ -66,7 +66,7 @@ jobs:
|
||||
needs: build
|
||||
steps:
|
||||
- name: Download artifact from build job
|
||||
uses: actions/download-artifact@v3
|
||||
uses: actions/download-artifact@v4
|
||||
with:
|
||||
name: webapp
|
||||
path: ${{ env.AZURE_WEBAPP_PACKAGE_PATH }}
|
||||
|
2
.github/workflows/nightly-build.yml
vendored
2
.github/workflows/nightly-build.yml
vendored
@ -114,7 +114,7 @@ jobs:
|
||||
next_version: ${{ steps.get_next_version.outputs.next_version }}
|
||||
|
||||
- name: Upload package artifact
|
||||
uses: actions/upload-artifact@v2
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: package
|
||||
path: publish/
|
||||
|
1
.github/workflows/release-AOT.yml
vendored
1
.github/workflows/release-AOT.yml
vendored
@ -67,6 +67,7 @@ jobs:
|
||||
dotnet build
|
||||
dotnet publish ./site/AntDesign.Docs.Wasm -c Release -f net8 -o cargo -p:EnableAOT=true
|
||||
cp -rf cargo/staticwebapp.config.json cargo/wwwroot
|
||||
cp -rf ./site/AntDesign.Docs.Wasm/bin/Debug/net8/*.dll _site/wwwroot/_framework
|
||||
|
||||
- name: Deploy to Azure 🚀
|
||||
id: deploy_azure
|
||||
|
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
@ -58,7 +58,7 @@ jobs:
|
||||
dotnet nuget push 'publish/*.nupkg' -s https://api.nuget.org/v3/index.json -k $NUGET_API_KEY --skip-duplicate
|
||||
|
||||
- name: Upload package artifact
|
||||
uses: actions/upload-artifact@v2
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: package
|
||||
path: publish/
|
||||
|
Loading…
Reference in New Issue
Block a user