Update publish-os-steps.yml

pull/3435/head
Matt Jeanes 5 years ago committed by GitHub
parent faa27ee3e9
commit 4edb6ed8bb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1,7 +1,5 @@
parameters:
- name: name # defaults for any parameters that aren't specified
default: ''
- name: Runtime
default: ''
- name: OutputName
@ -18,7 +16,7 @@ jobs:
inputs:
command: 'publish'
publishWebProjects: true
arguments: '-c $(BuildConfiguration) -r "$(parameters.Runtime)" -o $(Build.ArtifactStagingDirectory)/$(parameters.OutputName)'
arguments: '-c $(BuildConfiguration) -r "${{ parameters.Runtime }}" -o $(Build.ArtifactStagingDirectory)/${{ parameters.OutputName }}'
zipAfterPublish: false
modifyOutputPath: false
@ -27,7 +25,7 @@ jobs:
inputs:
SourceFolder: '$(UILocation)dist'
Contents: '**'
TargetFolder: '$(Build.ArtifactStagingDirectory)/$(parameters.OutputName)/ClientApp/dist'
TargetFolder: '$(Build.ArtifactStagingDirectory)/${{ parameters.OutputName}}/ClientApp/dist'
- task: ArchiveFiles@2
@ -36,5 +34,5 @@ jobs:
rootFolderOrFile: '$(Build.ArtifactStagingDirectory)/$(parameters.OutputName)'
includeRootFolder: false
archiveType: 'zip'
archiveFile: '$(Build.ArtifactStagingDirectory)/$(parameters.OutputName)-$(Build.BuildId).zip'
archiveFile: '$(Build.ArtifactStagingDirectory)/${{ parameters.OutputName }}-$(Build.BuildId).zip'
replaceExistingArchive: true

Loading…
Cancel
Save