From 551b3f621f8aedee6658d752daea5e56dec27370 Mon Sep 17 00:00:00 2001 From: Lucas Morgan Date: Sat, 4 Feb 2023 16:05:27 +0000 Subject: [PATCH 1/4] Update azure-pipelines.yml for Azure Pipelines --- azure-pipelines.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 7167326..1a266b2 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -24,6 +24,7 @@ steps: inputs: packageType: 'sdk' useGlobalJson: true + includePreviewVersions: true - task: CmdLine@2 inputs: From 91b9716cccb8fc46c76860249c6e4e75de687056 Mon Sep 17 00:00:00 2001 From: Lucas Morgan Date: Sat, 4 Feb 2023 16:10:52 +0000 Subject: [PATCH 2/4] Update azure-pipelines.yml for Azure Pipelines --- azure-pipelines.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 1a266b2..79f4246 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -25,6 +25,7 @@ steps: packageType: 'sdk' useGlobalJson: true includePreviewVersions: true + installationPath: $(Agent.ToolsDirectory)/dotnet - task: CmdLine@2 inputs: From cf7a38e6c38263563b7902d28440e9c7c29aa2b8 Mon Sep 17 00:00:00 2001 From: Lucas Morgan Date: Sat, 4 Feb 2023 16:18:35 +0000 Subject: [PATCH 3/4] Update azure-pipelines.yml for Azure Pipelines --- azure-pipelines.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 79f4246..f0d85b1 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -23,9 +23,10 @@ steps: - task: UseDotNet@2 inputs: packageType: 'sdk' - useGlobalJson: true + #useGlobalJson: true + version: 7.x includePreviewVersions: true - installationPath: $(Agent.ToolsDirectory)/dotnet + installationPath: $(Agent.ToolsDirectory)/dotnet #Install if not already present. - task: CmdLine@2 inputs: From f389155becd1846b1460881b2b6691c3b32cb6bb Mon Sep 17 00:00:00 2001 From: Lucas Morgan Date: Sat, 4 Feb 2023 18:58:10 +0000 Subject: [PATCH 4/4] Update azure-pipelines.yml for Azure Pipelines --- azure-pipelines.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index f0d85b1..8f39b93 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -53,7 +53,7 @@ steps: displayName: "Copy API files." inputs: sshEndpoint: 'LucaServer' - sourceFolder: '$(System.DefaultWorkingDirectory)/$(apiProjectName)/bin/Release/net6.0/publish' + sourceFolder: '$(System.DefaultWorkingDirectory)/$(apiProjectName)/bin/Release/net7.0/publish' contents: '**' targetFolder: '/var/www/apps/$(apiProjectName)' readyTimeout: '20000' @@ -62,7 +62,7 @@ steps: displayName: "Copy UI files." inputs: sshEndpoint: 'LucaServer' - sourceFolder: '$(System.DefaultWorkingDirectory)/$(uiProjectName)/bin/Release/net6.0/publish' + sourceFolder: '$(System.DefaultWorkingDirectory)/$(uiProjectName)/bin/Release/net7.0/publish' contents: '**' targetFolder: '/var/www/apps/$(uiProjectName)' readyTimeout: '20000'