Skip to content

Commit

Permalink
Merge pull request #2145 from SkillsFundingAgency/Build_Test
Browse files Browse the repository at this point in the history
Remove dotnet use as it conflicted with global.json
  • Loading branch information
nbowes24 authored Dec 24, 2020
2 parents 51b7372 + 2fe2fe0 commit 63beeb2
Showing 1 changed file with 4 additions and 9 deletions.
13 changes: 4 additions & 9 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,9 @@ resources:
type: github
name: SkillsFundingAgency/das-platform-building-blocks
ref: refs/heads/master
endpoint: "GitHub (SFA)"
endpoint: "GitHub (SFA)"

steps:
- task: UseDotNet@2
displayName: 'Use .NET Core sdk 2.2.x'
inputs:
version: 2.2.x

- task: gittools.gitversion.gitversion-task.GitVersion@5
displayName: GitVersion
inputs:
Expand All @@ -56,7 +51,7 @@ steps:
msbuildArgs: '/p:DeployOnBuild=true /p:WebPublishMethod=Package /p:PackageAsSingleFile=true /p:SkipInvalidConfigurations=true /p:PackageLocation="$(build.artifactstagingdirectory)/publish"'
platform: '$(buildPlatform)'
configuration: '$(buildConfiguration)'

- task: DotNetCoreCLI@2
displayName: 'dotnet pack'
inputs:
Expand All @@ -71,13 +66,13 @@ steps:
testAssemblyVer2: '**/bin/**/*UnitTests.dll'
platform: '$(buildPlatform)'
configuration: '$(buildConfiguration)'

- task: CopyFiles@2
displayName: 'Copy Files to: $(build.artifactstagingdirectory)'
inputs:
Contents: |
azure/**
src/**/bin/**/*.dacpac
src/**/bin/**/*.dacpac
TargetFolder: '$(build.artifactstagingdirectory)/publish'

- task: PublishBuildArtifacts@1
Expand Down

0 comments on commit 63beeb2

Please sign in to comment.