chore: fix upload-artifact actions (#4181)
* chore: fix upload-artifact actions * copy dll files to output
This commit is contained in:
Родитель
beb9491bb1
Коммит
854bb98759
|
@ -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 }}
|
||||
|
|
|
@ -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/
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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/
|
||||
|
|
Загрузка…
Ссылка в новой задаче