From a679345fbf5aa3d769ef7ae50434c06cbad3b422 Mon Sep 17 00:00:00 2001 From: Szabolcs Deme Date: Thu, 22 Sep 2022 17:25:17 +0200 Subject: [PATCH] Do I need framework? --- .github/workflows/deploy-to-azure-app-service.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/deploy-to-azure-app-service.yml b/.github/workflows/deploy-to-azure-app-service.yml index a02a5e3f7..e65858e39 100644 --- a/.github/workflows/deploy-to-azure-app-service.yml +++ b/.github/workflows/deploy-to-azure-app-service.yml @@ -163,13 +163,15 @@ jobs: ${{ inputs.self-contained }} -p:PublishReadyToRun=${{ inputs.ready-to-run }} ${{ env.runtime-option }} + --framework + net6.0 - name: Publish run: > dotnet publish (Get-ChildItem ${{ inputs.web-project-path }}).FullName --configuration Release --no-build --output '${{ inputs.build-directory }}/Published' --verbosity ${{ inputs.build-verbosity }} --self-contained ${{ inputs.self-contained }} -p:PublishReadyToRun=${{ inputs.ready-to-run }} - ${{ env.runtime-option }} + --framework net6.0 ${{ env.runtime-option }} - name: Login to Azure # v1.4.5