From b9567175aa39c6b3d3342cbec515d574b3eb04f0 Mon Sep 17 00:00:00 2001 From: Jojo Aquino Date: Sat, 12 Apr 2025 23:49:20 +0000 Subject: [PATCH] Update azure-pipelines.yml for Azure Pipelines --- azure-pipelines.yml | 50 ++++++--------------------------------------- 1 file changed, 6 insertions(+), 44 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index c778283..b243d55 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -26,14 +26,12 @@ stages: - task: UseDotNet@2 inputs: packageType: 'sdk' - version: '8.0.x' + version: '9.0.x' - task: NodeTool@0 inputs: versionSource: 'spec' versionSpec: '20.x' - - - task: Npm@1 inputs: @@ -43,23 +41,8 @@ stages: - task: PowerShell@2 inputs: - targetType: 'inline' - script: | - npm install rimraf -g - npm install parcel -g - - - task: DotNetCoreCLI@2 - inputs: - command: 'restore' - projects: '**/*.csproj' - feedsToUse: 'config' - - - task: DotNetCoreCLI@2 - inputs: - command: 'custom' - custom: 'publish' - arguments: '-o $(Build.ArtifactStagingDirectory)-linux' - configuration: '$(buildConfiguration)' + filePath: 'make.ps1' + arguments: '-OutputDir $(Build.ArtifactStagingDirectory)-linux' - task: PublishBuildArtifacts@1 inputs: @@ -77,38 +60,17 @@ stages: - task: UseDotNet@2 inputs: packageType: 'sdk' - version: '8.0.x' + version: '9.0.x' - task: NodeTool@0 inputs: versionSource: 'spec' versionSpec: '20.x' - - task: Npm@1 - inputs: - command: 'custom' - workingDir: 'EnotaryoPH/EnotaryoPH.Web' - customCommand: 'install --production' - - task: PowerShell@2 inputs: - targetType: 'inline' - script: | - npm install rimraf -g - npm install parcel -g - - - task: DotNetCoreCLI@2 - inputs: - command: 'restore' - projects: '**/*.csproj' - feedsToUse: 'config' - - - task: DotNetCoreCLI@2 - inputs: - command: 'custom' - custom: 'publish' - arguments: '-o $(Build.ArtifactStagingDirectory)-windows' - configuration: '$(buildConfiguration)' + filePath: 'make.ps1' + arguments: '-OutputDir $(Build.ArtifactStagingDirectory)-linux' - task: PublishBuildArtifacts@1 inputs: